Commit Graph

49 Commits

Author SHA1 Message Date
Dan Williams
fb716ae046 Make activity launching asynchronous
The ActivityFactory create() method now returns a handler GObject,
which callers may attach signals to to receive success and error
signals from the result of the activity launch request.
2007-01-07 00:04:30 -05:00
Dan Williams
8cea4c5fc6 Track activities while they launch
HomeModel now uses the activity ID to track activities, and creates
the HomeActivity object when the activity is launched, not when
its window appears.
2007-01-06 19:31:19 -05:00
Marco Pesenti Gritti
a4e1b6b3ff Fix handling of the no activities case 2006-12-24 15:58:53 +01:00
Marco Pesenti Gritti
b3c2368eac Complete the shell model/view split, finally 2006-12-24 15:39:00 +01:00
Marco Pesenti Gritti
0d1e07d9c3 Split ActivityHost in model/view. Refactor accordingly. 2006-12-24 14:35:02 +01:00
Marco Pesenti Gritti
2db2ae5312 Split model/view in the activities donut.
Provide some infrastructure for Alt+Tab implementation.
2006-12-24 12:19:24 +01:00
Marco Pesenti Gritti
e023d1c345 Get back mesh view to work. It got broken when refactoring bundles. 2006-12-20 13:58:29 +01:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Marco Pesenti Gritti
518d2d61d0 Remove unused old registry code 2006-12-01 23:09:02 +01:00
Marco Pesenti Gritti
ba5d1b4804 Finish up porting to the new registry 2006-12-01 23:04:14 +01:00
Marco Pesenti Gritti
ee62ed69b4 Pick up system bundles even if xdg dir env is undefined 2006-11-05 18:14:00 +01:00
Marco Pesenti Gritti
8571920734 Tweak activity search path. Use ~/Activities and XDG_DATA_DIRS/activities 2006-10-31 13:10:34 +01:00
Marco Pesenti Gritti
d150ac40cc More work on bundles support 2006-10-29 19:05:09 +01:00
Marco Pesenti Gritti
077bc6a4f1 Do not return the whole dict, just the values! 2006-10-20 18:24:17 +02:00
Dan Williams
d784a906e4 Add initial buddies, protect against buddies we don't know about before using them 2006-10-19 15:07:21 -04:00
Marco Pesenti Gritti
4f81f305b2 Fix a race in the spread box. Adapt to api change. 2006-10-19 16:49:53 +02:00
Marco Pesenti Gritti
36e535a29a More fixes 2006-10-19 16:12:55 +02:00
Marco Pesenti Gritti
cf13a7ff5b Unregister the chat service on destroy. 2006-10-19 14:51:13 +02:00
Marco Pesenti Gritti
21aa37cc24 Do not assume when curactivity change we already know about that activity. 2006-10-19 13:28:59 +02:00
Marco Pesenti Gritti
bc0ee6d34c Refactor startup. In progress, give me a couple hours.
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
43bd44b407 Add GPL headers 2006-10-15 01:24:45 +02:00
Marco Pesenti Gritti
1f8ff1db1f Move all the canvas code that doesn't depend on goocanvas anymore in graphics. 2006-10-04 00:55:20 +02:00
Ian Bicking
56281c804f Revert "Make ShellModel emit signals on activity change, and make Owner listen for them. Fix Owner's current activity update code to actually update at the correct interval"
This reverts 906f5bbed0 commit.
2006-09-27 16:51:56 -05:00
Dan Williams
906f5bbed0 Make ShellModel emit signals on activity change, and make Owner listen for them. Fix Owner's current activity update code to actually update at the correct interval 2006-09-27 17:00:12 -04:00
Marco Pesenti Gritti
92e37fd904 Fix add and remove friends 2006-09-26 19:49:41 +02:00
Dan Williams
c9533d448b Fix current activity handling 2006-09-26 13:39:42 -04:00
Dan Williams
550c201101 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 14:15:49 -04:00
Dan Williams
d0664dc801 Add icon-changed signal 2006-09-25 14:05:01 -04:00
Marco Pesenti Gritti
57992d3fb4 Handle None current activity case 2006-09-25 19:41:08 +02:00
Dan Williams
ea5b59dca7 Send buddy icon hash in presence service announcement too 2006-09-25 10:56:12 -04:00
Marco Pesenti Gritti
56229aad36 Write a mesh model and start using it in the mesh view 2006-09-25 16:01:11 +02:00
Dan Williams
da221ee84e Add get_current_activity accessor 2006-09-24 23:12:46 -04:00
Dan Williams
d12c57895c Add color-changed and current-activity-changed signals 2006-09-22 17:37:16 -04:00
Dan Williams
2031eb650a - don't hardcode inactive buddy color
- shorten signal handler id variable names
- add appeared/disappeared signals to BuddyModel
- deal with buddy disappearance
2006-09-22 17:24:00 -04:00
Dan Williams
940329703f Clean up buddy checking & retrieval; make constructor choice between name & real buddy explicit. 2006-09-22 16:35:03 -04:00
Dan Williams
2f7b3abef7 Monitor buddy property change signals on creation; misc cleanups 2006-09-22 15:49:16 -04:00
Dan Williams
801d020058 Don't die on malformed friends config file 2006-09-22 12:50:55 -04:00
Dan Williams
3c11feca6f Start trying to deal with current activity changes 2006-09-21 16:49:25 -04:00
Marco Pesenti Gritti
09db49cc18 s/BuddyInfo/BuddyModel 2006-09-20 12:27:38 +02:00
Dan Williams
d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04:00
Marco Pesenti Gritti
1f3187e0b5 Cleanup shell model/view separation 2006-09-18 11:48:33 +02:00
Marco Pesenti Gritti
11a013aff2 For the owner show only nick name 2006-09-16 10:46:10 +02:00
Dan Williams
922b7238b9 Merge 2006-09-15 16:50:06 -04:00
Marco Pesenti Gritti
e79a5f5e98 Really fix invites 2006-09-15 16:19:56 +02:00
Marco Pesenti Gritti
fe64b7c6d4 Fix invites 2006-09-15 16:04:30 +02:00
Marco Pesenti Gritti
a2655faa7d Fix makefiles 2006-09-15 15:35:20 +02:00
Marco Pesenti Gritti
7b37c4d38b Fix opening new activities 2006-09-15 15:30:46 +02:00
Marco Pesenti Gritti
f2f25f874d Implement friends removal, lots of cleanups 2006-09-15 15:28:18 +02:00
Marco Pesenti Gritti
ca19f0f251 Move the model to his own module 2006-09-15 12:52:37 +02:00