Commit Graph

496 Commits

Author SHA1 Message Date
Dan Williams
ddef3947d4 Import gobject 2006-09-28 14:45:32 -04: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
Dan Williams
71b0e7c3a9 Don't traceback on unknown image formats 2006-09-27 14:27:17 -04:00
Marco Pesenti Gritti
7443ee4c8b Don't allow empty nick names and if it happens consider
the profile invalid.
2006-09-26 22:52:45 +02:00
Marco Pesenti Gritti
92e37fd904 Fix add and remove friends 2006-09-26 19:49:41 +02:00
Marco Pesenti Gritti
c8fd8ef3d9 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-26 19:37:43 +02:00
Dan Williams
ba21a36ef8 Correctly deal with current activities on startup, buddy presence changes, and current activity changes 2006-09-26 13:40:52 -04:00
Dan Williams
c9533d448b Fix current activity handling 2006-09-26 13:39:42 -04:00
Marco Pesenti Gritti
4975e94a84 Update some icon names 2006-09-26 19:35:58 +02:00
Marco Pesenti Gritti
fa31b7c0bd Align to the center of the icon 2006-09-25 22:06:45 +02:00
Marco Pesenti Gritti
5b3eeb0a9c Keep the icon layout updated when adding buddies to the snow flake 2006-09-25 22:01:35 +02:00
Marco Pesenti Gritti
9619921735 Image layout fixes 2006-09-25 21:35:25 +02:00
Dan Williams
ef24aa7553 Scale the icon to a paritcular size 2006-09-25 15:36:40 -04:00
Dan Williams
6e28f4467d Add buddy icon to the buddy menu 2006-09-25 15:20:28 -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
Marco Pesenti Gritti
aa71d354b2 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 19:15:44 +02:00
Marco Pesenti Gritti
2ad9696c87 Adapt to BuddyModel constructor change 2006-09-25 19:15:23 +02:00
Dan Williams
709eefc5bd Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 13:14:36 -04:00
Marco Pesenti Gritti
d63180c4f4 Some fixes 2006-09-25 18:55:35 +02:00
Marco Pesenti Gritti
59add6e901 More work on the mesh view 2006-09-25 18:38:01 +02:00
Dan Williams
de23158979 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 10:57:26 -04:00
Dan Williams
ea5b59dca7 Send buddy icon hash in presence service announcement too 2006-09-25 10:56:12 -04:00
Marco Pesenti Gritti
2ee61e4475 Show activities again 2006-09-25 16:40:15 +02:00
Marco Pesenti Gritti
e31bcc76b3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-25 16:01:29 +02: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
9fa9bd9583 Add BuddyActivityView.py to makefile 2006-09-25 09:25:44 -04:00
Marco Pesenti Gritti
1070ed3ae6 Better layout 2006-09-25 11:42:13 +02:00
Marco Pesenti Gritti
d5f8d62d35 Add size request to BuddyActivityView and use it in IconLayout 2006-09-25 11:35:30 +02:00
Dan Williams
3e4c8cabc7 Switch to BuddyActivityView to show current activity 2006-09-24 23:15:53 -04:00
Dan Williams
da221ee84e Add get_current_activity accessor 2006-09-24 23:12:46 -04:00
Marco Pesenti Gritti
bcd150fa81 Implement very simple spread out logic for the IconLayout 2006-09-25 00:08:33 +02:00
Marco Pesenti Gritti
3f73da0549 Some cleanups of the IconLayout 2006-09-24 22:55:13 +02:00
Dan Williams
e92548df5c Use the new BuddyModel color-changed signal 2006-09-22 17:37:41 -04:00
Dan Williams
d12c57895c Add color-changed and current-activity-changed signals 2006-09-22 17:37:16 -04:00
Dan Williams
188394f09f - Track BuddyModel appeared/disappeared signals, and update our icon colors accordingly
- s/friend/buddy since BuddyModel isn't just for friends
2006-09-22 17:24:56 -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
0aea72f485 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 16:35:09 -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
Marco Pesenti Gritti
fc000346e4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 21:50:20 +02:00
Marco Pesenti Gritti
a2489b49d4 Fix a few bugs 2006-09-22 21:49:59 +02:00
Dan Williams
2d445fcc5f Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 15:49:23 -04:00
Dan Williams
2f7b3abef7 Monitor buddy property change signals on creation; misc cleanups 2006-09-22 15:49:16 -04:00
Marco Pesenti Gritti
f2b2b8c6ba Fix friends removal 2006-09-22 21:36:52 +02:00
Marco Pesenti Gritti
17913d20b8 Increase zoom view icon sizes 2006-09-22 21:29:48 +02:00
Dan Williams
801d020058 Don't die on malformed friends config file 2006-09-22 12:50:55 -04:00
Marco Pesenti Gritti
4a1995af8d Play with sizes a bit 2006-09-22 15:06:43 +02:00
Marco Pesenti Gritti
d8c61d271a Convert to the new icon format 2006-09-22 14:32:07 +02:00
Marco Pesenti Gritti
2d8c9a3310 Implement activation modes. Do not hide when sticky because
activated by single frame key press.
2006-09-22 11:14:33 +02:00
Marco Pesenti Gritti
5e55efe9d5 Get icon size from the handle. Remove the padding from
the zoom view icons and reorder them.
2006-09-22 10:55:10 +02:00
Dan Williams
3c11feca6f Start trying to deal with current activity changes 2006-09-21 16:49:25 -04:00
Dan Williams
f9012b88f6 Move remove code down to fix undefined var error 2006-09-21 13:52:17 -04:00
Marco Pesenti Gritti
66124465e8 Do not show the frame when leaving the edge before the time 2006-09-21 18:04:37 +02:00
Marco Pesenti Gritti
af54df80ec Handle closing all activities correctly 2006-09-21 15:16:36 +02:00
Marco Pesenti Gritti
229793e9f0 Adapt to API change 2006-09-21 15:02:46 +02:00
Marco Pesenti Gritti
3c64b65829 Drop color schemes per design change 2006-09-21 15:00:59 +02:00
Marco Pesenti Gritti
a054eb3a4b Implement the frame mouse activation logic.
Some fixes in the Timeline
2006-09-21 14:45:36 +02:00
Marco Pesenti Gritti
446a58d52c Simple timeline API.
Use it to implement the frame key logic.
2006-09-21 14:08:10 +02: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
ec0debdb30 Do not hide the frame if menushell is active. 2006-09-19 14:43:42 +02:00
Marco Pesenti Gritti
9ff192d0b3 Use a different menu shell for the zoom view and the frame 2006-09-19 14:04:11 +02:00
Marco Pesenti Gritti
f5ef5d8c94 Show/hide the frame on mouse motion, needs work 2006-09-18 16:51:21 +02:00
Marco Pesenti Gritti
180c65e81c Implement close button for the activity.
Some fixes.
2006-09-18 11:56:53 +02:00
Marco Pesenti Gritti
1f3187e0b5 Cleanup shell model/view separation 2006-09-18 11:48:33 +02:00
Marco Pesenti Gritti
89e2f5be91 Rework menu positioning. Cleanups. 2006-09-17 01:05:59 +02:00
Marco Pesenti Gritti
edba3e0082 Implement menu color scheme and fixup colors 2006-09-16 20:48:27 +02:00
Marco Pesenti Gritti
465253d95e Initial implementation of the activity menu 2006-09-16 20:35:03 +02:00
Marco Pesenti Gritti
d9fc47ca01 s/BuddyPopup/BuddyMenu 2006-09-16 15:43:07 +02:00
Marco Pesenti Gritti
a1d2b993c0 Generic menu 2006-09-16 15:36:39 +02:00
Marco Pesenti Gritti
8dbdda5384 Move all the popup logic from IconItem to MenuIcon 2006-09-16 15:01:38 +02:00
Marco Pesenti Gritti
7c91b1c49f Factor out to a generic icon with menu 2006-09-16 14:45:09 +02:00
Marco Pesenti Gritti
956b663409 Do not show invite if there is no active activity 2006-09-16 11:00:46 +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
Dan Williams
b39eff3365 Refcount tracked service types; ensure only the process that registers a service can change it; add support for updated service properties/published values 2006-09-15 16:41:11 -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
16574cbfcc s/FriendIcon/BuddyIcon since that is generic now 2006-09-15 14:41:56 +02:00
Marco Pesenti Gritti
844216585a Pass around the shell so that groups can reuse the grid 2006-09-15 14:24:26 +02:00
Marco Pesenti Gritti
5f99dcf9a5 Move the presence service out of the shell 2006-09-15 13:54:16 +02:00
Marco Pesenti Gritti
bcc1740f7f Move the view to his own module 2006-09-15 13:23:21 +02:00
Marco Pesenti Gritti
ca19f0f251 Move the model to his own module 2006-09-15 12:52:37 +02:00
Marco Pesenti Gritti
14383f4fc7 Forgot to add the model 2006-09-15 12:40:46 +02:00
Marco Pesenti Gritti
645aa93e50 Split shell in model/view, cleanup things a lot 2006-09-15 12:40:22 +02:00
Marco Pesenti Gritti
0232dc73b5 Remove unused code 2006-09-15 11:49:04 +02:00
Marco Pesenti Gritti
207f643d38 Typo 2006-09-15 03:33:09 +02:00
Marco Pesenti Gritti
3a10f80aa1 A bunch of cleanups and fixes 2006-09-15 02:54:25 +02:00
Marco Pesenti Gritti
40ac396055 Fix small bugs in the grid logic 2006-09-15 01:56:59 +02:00
Marco Pesenti Gritti
ae9adff40b Cleanup 2006-09-15 01:30:37 +02:00
Marco Pesenti Gritti
3fc81ae945 Add a popup shell which ensure only one popup is active at
the same time.
2006-09-15 01:01:26 +02:00
Marco Pesenti Gritti
fd92a6d7d9 Improve popup/popdown logic 2006-09-15 00:34:42 +02:00
Marco Pesenti Gritti
3ee23b3a92 Keep popups out of the frame 2006-09-14 21:15:48 +02:00
Marco Pesenti Gritti
8265e29cdf Use FriendIcon in the frame 2006-09-14 20:52:21 +02:00
Marco Pesenti Gritti
3a4f8da5ce Factor out friend icon 2006-09-14 19:37:40 +02:00