Simon Schampijer
8f1a821d68
Rename imports from sugar to sugar3
...
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
2011-11-14 19:17:32 +01:00
Sascha Silbe
7acfbd070f
style cleanup: prefer ' for strings
...
Tomeu prefers ' for strings, so let's use it wherever we don't have a good
reason to use ".
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:34 +01:00
Sascha Silbe
4d978fda14
PEP8 cleanup: ensure lines are shorter than 80 characters
...
Caught by PEP8. This is important for Sugar because the XO has a small screen
where long lines would make the code hard to understand (because you need to
constantly scroll horizontally).
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer<simon@schampijer.de>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:32 +01:00
Sascha Silbe
e2231d5620
PEP8 cleanup: fix number of blank lines
...
Caught by pep8.
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:32 +01:00
Sascha Silbe
131c28bb72
fix EOL spaces
...
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
2010-11-23 17:14:31 +01:00
Tomeu Vizoso
44cabc891b
Remove the hacks for asking the X server for screenshots and use gtk.Widget.get_snapshot() instead.
2008-12-20 16:51:29 +01:00
Benjamin Berg
d37e90940c
Fix the testcase for ticket 2855.
2008-01-27 20:07:00 +01:00
Benjamin Berg
ac804177a1
Extend the iconwidget test to also test insensitive icons.
2007-12-14 20:44:22 +01:00
Tomeu Vizoso
7ad5cf3063
Update test for #5389 .
2007-12-12 12:15:43 +01:00
Marco Pesenti Gritti
cd61c52c7b
SugarPreview API improvements
2007-11-04 16:40:28 +01:00
Marco Pesenti Gritti
eaef1eb015
Experimental preview implementation using XShmGetImage.
...
Not hooked up yet.
2007-11-04 16:20:54 +01:00
Marco Pesenti Gritti
b44a2916ba
Rework sugar.logger and make activities just
...
redirect their output to a log.
2007-10-09 18:58:39 +02:00
Marco Pesenti Gritti
3a4f4166f0
Snapshot 47f473189e
.
2007-09-12 21:52:04 +02:00
Marco Pesenti Gritti
0f32a1e193
Test for a long hippo scrolling view.
2007-09-07 00:40:26 +02:00
Tomeu Vizoso
07107fb81b
#2896 : Remove sugar.date module.
2007-09-03 21:26:30 +02:00
Tomeu Vizoso
070d467e13
Add testcase for exercising the icon cache.
2007-09-03 18:41:35 +02:00
Marco Pesenti Gritti
a09a786ff7
Use Tray also for the frame friends view.
...
Drop the deprecated IconButton.
2007-09-03 01:48:03 +02:00
Marco Pesenti Gritti
6c1ecad37e
Add testcase for toolbar and tray palettes.
2007-09-01 13:33:32 +02:00
Marco Pesenti Gritti
01d368a7a4
Implement VTray. A bit of refactoring to share more code.
2007-08-30 14:29:52 +02:00
Marco Pesenti Gritti
c742cff64d
Show arrows only when the icons does not fit.
2007-08-27 22:10:18 +02:00
Marco Pesenti Gritti
7fcc23b4c8
Very first go at the tray widget, based on Eduardo and Simon work.
2007-08-27 21:28:20 +02:00
Marco Pesenti Gritti
ae54542524
Add badge support to IconBuffer
2007-08-26 00:26:11 +02:00
Marco Pesenti Gritti
1938fb13f0
Rework the Icon implementation by splitting out
...
the icon rendering part. The plan is to share this code
with CanvasIcon once it has all the necessary features.
Also cleanup the API by just reusing gtk.Image icon_name
and file properties.
2007-08-25 18:26:59 +02:00
Tomeu Vizoso
d499fba9b1
Added test for #3000 .
2007-08-24 15:24:30 +02:00
Tomeu Vizoso
ee4d70daa6
Added test for #2999 .
2007-08-24 15:16:59 +02:00
Marco Pesenti Gritti
6b5703ac96
Revert "Test for ticket 2925, it doesn't reproduce the issue for some reason."
...
This reverts commit 9f7ed73485
.
2007-08-23 19:52:34 +02:00
Marco Pesenti Gritti
9f7ed73485
Test for ticket 2925, it doesn't reproduce the issue for some reason.
2007-08-23 16:05:54 +02:00
Marco Pesenti Gritti
a8d6ab3079
Add test description.
2007-08-20 14:08:28 +02:00
Marco Pesenti Gritti
1b2c9f9f28
Finish up test for 2855.
2007-08-20 13:24:28 +02:00
Marco Pesenti Gritti
db4e502de5
Move test_time
2007-08-20 12:37:53 +02:00
Marco Pesenti Gritti
e0d3c350c9
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-08-20 12:36:43 +02:00
Marco Pesenti Gritti
a0195e7fd4
Some initial work on graphics tests.
2007-08-20 12:34:29 +02:00
Tomeu Vizoso
fff0daf8c4
Improvements in mime handling and added some tests.
2007-08-20 10:50:20 +02:00
Marco Pesenti Gritti
7a64119843
Start playing with unit tests.
2007-08-19 00:24:51 +02:00
Marco Pesenti Gritti
8403dd5987
Kill the old tests. Trying to start a proper test suite.
...
Not sure about the usefulness of the presence service
stuff but I guess it should be moved to the presence-service
module anyway?
2007-08-18 23:52:04 +02:00
Marco Pesenti Gritti
4ad4fe9ec8
Adapt the test to API changes
2007-08-16 15:46:19 +02:00
Marco Pesenti Gritti
e95e786432
Adapt to icon name changes
2007-08-16 12:51:33 +02:00
Tomeu Vizoso
8bf79b4831
Renamed Xbook to Read.
2007-07-15 21:20:10 +02:00
Marco Pesenti Gritti
a1b6625a6a
Fix some style nitpicks
2007-07-06 03:48:03 +02:00
Marco Pesenti Gritti
f1ecb99207
Complete transition to new spread layout.
2007-07-06 00:46:12 +02:00
Marco Pesenti Gritti
bcb68e8e0e
Add collisions detection
2007-07-05 22:45:58 +02:00
Marco Pesenti Gritti
82694847c6
Improve the test
2007-07-05 21:35:58 +02:00
Marco Pesenti Gritti
049550e2e8
Rename spread test
2007-07-05 21:31:18 +02:00
Marco Pesenti Gritti
20ea0d7bcc
Add a spread layout manager. Work in progress.
2007-07-05 13:33:29 +02:00
Marco Pesenti Gritti
91654729bf
Refactor the snowflake layout to use the new hippo layout managers.
...
Cleanup the logic.
Better test.
Make it internal.
2007-07-05 11:22:09 +02:00
Tomeu Vizoso
7e233d7926
updates for tests/test-ui.py.
2007-06-26 11:29:37 +02:00
Marco Pesenti Gritti
27a3644dab
Hook up mime.get_for_file
2007-05-24 12:30:42 +02:00
Marco Pesenti Gritti
2145de1039
Hook up get_from_file_name
2007-05-24 12:08:05 +02:00
Marco Pesenti Gritti
c202b6be43
Import xdgmime and start hooking it up
2007-05-23 11:55:21 +02:00
Marco Pesenti Gritti
9e10d15c21
More work on pyxpcom integration
2007-05-13 22:49:27 +02:00