Commit Graph

207 Commits

Author SHA1 Message Date
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
Marco Pesenti Gritti
7e0fd77b13 Some fixes 2007-05-13 20:32:28 +02:00
Eduardo Silva
5d14daf44b Notebook class now use **kwargs to set properties 2007-05-09 14:38:38 -04:00
Eduardo Silva
6a685d38b4 Merge branch 'master' of git://dev.laptop.org/sugar 2007-05-08 09:33:58 -04:00
Eduardo Silva
9180388a76 Notebook widget class: new 'can-close-tabs' property 2007-05-08 09:32:32 -04:00
Marco Pesenti Gritti
6d5bc75092 Tweak the test to use realistic numbers. Some fixes 2007-05-07 16:59:28 +02:00
Marco Pesenti Gritti
fb019bc9f5 Better spread algorhytm, work in progress 2007-05-07 16:24:41 +02:00
Eduardo Silva
110fa5f354 New notebook control 2007-05-06 11:03:43 -04:00
Dan Williams
5057a0e653 Add a mock sharing read activity 2007-05-03 10:43:57 -04:00
Dan Williams
0148f13ed6 Don't duplicate program name in argv 2007-04-29 17:55:52 -04:00
Dan Williams
9537082fc1 Finish current-activity test checks 2007-04-27 12:47:48 -04:00
Dan Williams
6cc3e7acdb Add minimal current activity test 2007-04-26 16:52:24 -04:00
Dan Williams
f18df46c62 Add bits to support current activity and add/remove buddy to activity 2007-04-26 16:52:13 -04:00
Dan Williams
57592601cc Clean up GSource and signal handler ID tear down 2007-04-26 10:48:49 -04:00
Marco Pesenti Gritti
e49146752f More work on the new graphics API. 2007-04-26 11:31:41 +02:00
Dan Williams
4b177d329d Fix dbus connection re-use issues; clean up signals after each testcase; add activity join test 2007-04-25 22:39:12 -04:00
Dan Williams
8600a48fa2 Fix NotFoundError 2007-04-25 22:37:58 -04:00
Dan Williams
549a2df403 Make joining work 2007-04-25 22:37:35 -04:00
Dan Williams
51fa253e98 Test activity sharing 2007-04-24 20:04:21 -04:00
Dan Williams
290f2c2900 Add bits to handle join/leave activities 2007-04-24 20:04:09 -04:00
Dan Williams
8152672e49 add log handler since sugar ps bindings use logging 2007-04-24 12:13:08 -04:00
Dan Williams
f5305a3ea0 Test activity appeared/disappeared 2007-04-24 12:11:36 -04:00
Dan Williams
5a5b541da3 Add buddy-removed testcase 2007-04-23 13:21:34 -04:00
Dan Williams
05b7f678e9 Fix traceback in RemoveBuddy 2007-04-23 13:21:19 -04:00
Dan Williams
857aa1dcbf Rework mock ps start/stop; test BuddyAppeared signals 2007-04-23 13:12:10 -04:00
Dan Williams
4ca4e5564e Add test code for Sugar PresenceService bindings 2007-04-23 12:06:41 -04:00
Marco Pesenti Gritti
76e375749a Add more toolbars and a text area 2007-04-20 15:38:34 +02:00
Marco Pesenti Gritti
f6a93fd8e9 Some initial work on graphics2 2007-04-20 14:45:39 +02:00
Marco Pesenti Gritti
cb997a5264 More work on the new toolbars 2007-04-19 18:53:55 +02:00
Marco Pesenti Gritti
7ef61620f7 Ui test 2007-04-18 16:04:27 +02:00
Marco Pesenti Gritti
0bade58c23 Remove obsolete tests 2007-04-18 14:06:34 +02:00
Marco Pesenti Gritti
c738ac488e Fix SnowflakeBox 2007-04-15 11:39:06 +02:00
Marco Pesenti Gritti
a2de1f7f3f Fix (API changes) 2007-04-15 01:03:36 +02:00
Marco Pesenti Gritti
35139a0fd4 FIx 2007-04-12 10:53:21 +02:00
Marco Pesenti Gritti
5343752c35 Make browser a modules inside sugar library 2007-04-07 13:17:36 +02:00
Marco Pesenti Gritti
94f36e8b7d Obsolete activity examples 2007-04-06 15:15:23 +02:00
Marco Pesenti Gritti
b6a1445573 Kill a lot of old old unused code 2007-03-28 11:40:22 +02:00
Marco Pesenti Gritti
81d216babd Fix up translations, translate in italian. 2007-03-23 14:55:38 +01:00
Marco Pesenti Gritti
cda47a41f4 Implement ToggleIconButton 2007-03-09 11:22:51 +01:00
Tomeu Vizoso
66b1c48211 Remove theme hack for tests. Marco has fixed the tests in sugar-emulator. 2007-03-08 11:47:39 +01:00
Tomeu Vizoso
d504124cc2 Hack Dan's DataStore for doing what we need for 6th March demo. 2007-03-02 21:17:03 +01:00
Tomeu Vizoso
de902c41fd Added Button control. 2007-02-26 17:35:58 +01:00
Tomeu Vizoso
067f703bfe Make OptionMenu grab the pointer on popup. 2007-02-24 18:18:50 +01:00
Tomeu Vizoso
a2e5b9308e Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color. 2007-02-23 17:08:37 +01:00
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Tomeu Vizoso
2f4822f1cd Make OptionMenu use the new Menu and MenuItem classes. 2007-02-22 12:34:38 +01:00
Tomeu Vizoso
500f979302 Renamed Button to IconButton. 2007-02-21 13:01:20 +01:00
Marco Pesenti Gritti
2e8bd12f8b Rework color and fonts to be more pytonish. Add units conversions. 2007-02-15 18:48:58 +01:00
Tomeu Vizoso
32c89a1fcb New widget OptionMenu. 2007-02-15 18:23:52 +01:00
Marco Pesenti Gritti
bcdff5ddd3 Move Color inside style 2007-02-14 16:20:00 +01:00
Tomeu Vizoso
b4a461605d Label fixes. 2007-02-13 18:09:45 +01:00
Tomeu Vizoso
f4a6eb4453 Refactor Frame, create RoundBox, some Entry fixes and new Label control. 2007-02-12 20:37:20 +01:00
Tomeu Vizoso
5aa820d72f And more text entry stuff. 2007-02-10 17:42:11 +01:00
Tomeu Vizoso
105c66f25b More text entry stuff. 2007-02-09 17:34:08 +01:00
Tomeu Vizoso
6115b8af10 Added text entry control. 2007-02-09 14:47:11 +01:00
Marco Pesenti Gritti
f6e1df09f5 Refactor a bit the color stuff. Python doesn't seem to like initializing class members with an instance of the class itself. Initial frame control implementation. 2007-02-08 16:28:05 +01:00
Marco Pesenti Gritti
1d6f0a11c4 Cut and paste the mozembed bindings instead of depending on the
external ones. This is necessary to be able to support 1.9.
2007-01-23 20:33:56 +01:00
Marco Pesenti Gritti
4cdf88f31d Do not hardcode /usr/bin/python 2007-01-20 13:38:58 +01:00
Dan Williams
e586cd66c0 Add activity objects to the data store 2006-12-20 14:04:52 -05:00
Dan Williams
039ac19432 datastore fixes 2006-12-11 17:25:48 -05:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
5fd8f95046 Disable sketch, move it in tests for now (only way to hide it from the stupid
build system, it will have to be moved to his own module/bundle anyway).
2006-11-10 22:37:04 +01:00
Marco Pesenti Gritti
cb285aba06 Get running activities to work. Still hacky. 2006-10-31 12:06:28 +01:00
Marco Pesenti Gritti
92f37d31da Several fixes, generate the service, add a test bundle 2006-10-31 10:48:45 +01:00
Marco Pesenti Gritti
ebb896cb5b Another iteration on the spread out box. Make it work
well also for the mesh.
2006-10-25 14:31:44 +02:00
Marco Pesenti Gritti
fcac3b87ca Size the window to fill screen, to avoid wm races 2006-10-25 01:33:29 +02:00
Marco Pesenti Gritti
71c08b526f Add a few snowflakes and pack them in a spread box 2006-10-25 01:20:17 +02:00