175 Commits (b51d5c9dc7263917afa2535befb02ad7517a7514)

Author SHA1 Message Date
Sascha Silbe 820efa56b9 Run pygi-convert.sh for automatic conversion from GTK2 to GTK3 + pygi.
This is only on a best-effort basis; the code will be in a broken state after
this patch and need to be fixed manually.

The purpose of committing the intermediate, non-working output is to make it
reproducible. It's impractical to manually review the changes.

The exact version used was 4f637212f13b197a95c824967a58496b9e3b877c from the
main pygobject repository [1] plus a custom patch [2] that hasn't been sent
upstream yet.

[1] git://git.gnome.org/pygobject
[2] https://sascha.silbe.org/patches/pygobject-convert-sugar-20111122.patch

Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
Simon Schampijer 9cb18cdcf3 Remove Canvas* widgets and other hippo-canvas using parts
hippo-canvas isn't available in the GTK3 world, so we need to remove
anything that depends on it. Activities that still use it will need replace
hippo-canvas based widgets with native GTK ones before they can be ported to
GTK3.

[replaced description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
Simon Schampijer 8f1a821d68 Rename imports from sugar to sugar3
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Sascha Silbe <silbe@activitycentral.com>
13 years ago
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>
14 years ago
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>
14 years ago
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>
14 years ago
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>
14 years ago
Tomeu Vizoso 44cabc891b Remove the hacks for asking the X server for screenshots and use gtk.Widget.get_snapshot() instead. 16 years ago
Benjamin Berg d37e90940c Fix the testcase for ticket 2855. 17 years ago
Benjamin Berg ac804177a1 Extend the iconwidget test to also test insensitive icons. 17 years ago
Tomeu Vizoso 7ad5cf3063 Update test for #5389. 17 years ago
Marco Pesenti Gritti cd61c52c7b SugarPreview API improvements 17 years ago
Marco Pesenti Gritti eaef1eb015 Experimental preview implementation using XShmGetImage.
Not hooked up yet.
17 years ago
Marco Pesenti Gritti b44a2916ba Rework sugar.logger and make activities just
redirect their output to a log.
17 years ago
Marco Pesenti Gritti 3a4f4166f0 Snapshot 47f473189e. 17 years ago
Marco Pesenti Gritti 0f32a1e193 Test for a long hippo scrolling view. 17 years ago
Tomeu Vizoso 07107fb81b #2896: Remove sugar.date module. 17 years ago
Tomeu Vizoso 070d467e13 Add testcase for exercising the icon cache. 17 years ago
Marco Pesenti Gritti a09a786ff7 Use Tray also for the frame friends view.
Drop the deprecated IconButton.
17 years ago
Marco Pesenti Gritti 6c1ecad37e Add testcase for toolbar and tray palettes. 17 years ago
Marco Pesenti Gritti 01d368a7a4 Implement VTray. A bit of refactoring to share more code. 17 years ago
Marco Pesenti Gritti c742cff64d Show arrows only when the icons does not fit. 17 years ago
Marco Pesenti Gritti 7fcc23b4c8 Very first go at the tray widget, based on Eduardo and Simon work. 17 years ago
Marco Pesenti Gritti ae54542524 Add badge support to IconBuffer 17 years ago
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.
17 years ago
Tomeu Vizoso d499fba9b1 Added test for #3000. 17 years ago
Tomeu Vizoso ee4d70daa6 Added test for #2999. 17 years ago
Marco Pesenti Gritti 6b5703ac96 Revert "Test for ticket 2925, it doesn't reproduce the issue for some reason."
This reverts commit 9f7ed73485.
17 years ago
Marco Pesenti Gritti 9f7ed73485 Test for ticket 2925, it doesn't reproduce the issue for some reason. 17 years ago
Marco Pesenti Gritti a8d6ab3079 Add test description. 17 years ago
Marco Pesenti Gritti 1b2c9f9f28 Finish up test for 2855. 17 years ago
Marco Pesenti Gritti db4e502de5 Move test_time 17 years ago
Marco Pesenti Gritti e0d3c350c9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 17 years ago
Marco Pesenti Gritti a0195e7fd4 Some initial work on graphics tests. 17 years ago
Tomeu Vizoso fff0daf8c4 Improvements in mime handling and added some tests. 17 years ago
Marco Pesenti Gritti 7a64119843 Start playing with unit tests. 17 years ago
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?
17 years ago
Marco Pesenti Gritti 4ad4fe9ec8 Adapt the test to API changes 17 years ago
Marco Pesenti Gritti e95e786432 Adapt to icon name changes 17 years ago
Tomeu Vizoso 8bf79b4831 Renamed Xbook to Read. 17 years ago
Marco Pesenti Gritti a1b6625a6a Fix some style nitpicks 17 years ago
Marco Pesenti Gritti f1ecb99207 Complete transition to new spread layout. 17 years ago
Marco Pesenti Gritti bcb68e8e0e Add collisions detection 17 years ago
Marco Pesenti Gritti 82694847c6 Improve the test 17 years ago
Marco Pesenti Gritti 049550e2e8 Rename spread test 17 years ago
Marco Pesenti Gritti 20ea0d7bcc Add a spread layout manager. Work in progress. 17 years ago
Marco Pesenti Gritti 91654729bf Refactor the snowflake layout to use the new hippo layout managers.
Cleanup the logic.
Better test.
Make it internal.
17 years ago
Tomeu Vizoso 7e233d7926 updates for tests/test-ui.py. 17 years ago
Marco Pesenti Gritti 27a3644dab Hook up mime.get_for_file 17 years ago
Marco Pesenti Gritti 2145de1039 Hook up get_from_file_name 17 years ago