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
Dan Williams
2006-09-27 17:00:12 -04:00
22be6cb0da
Work around bug where Avahi passes back a blank service type; and don't traceback on invalid service types
Dan Williams
2006-09-27 16:47:23 -04:00
70cbd90c7a
Fix signal args
Dan Williams
2006-09-27 15:01:40 -04:00
71b0e7c3a9
Don't traceback on unknown image formats
Dan Williams
2006-09-27 14:27:17 -04:00
0064e6c3ff
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-27 11:43:27 -04:00
9ce768ca39
Add and remove activities to/from Buddy objects at appropriate times
Dan Williams
2006-09-27 11:35:34 -04:00
38e85f3987
Ignore duplicate activity additions
Dan Williams
2006-09-27 11:35:15 -04:00
03f6c9caf2
Make the popup transient
Marco Pesenti Gritti
2006-09-27 17:27:08 +02:00
da21d28a2f
Remove debug code
Marco Pesenti Gritti
2006-09-27 15:41:13 +02:00
98e223a7e8
Show sized popups as dialogs
Marco Pesenti Gritti
2006-09-27 15:30:56 +02:00
df6dd4618b
Open "requested" popups in a new activity
Marco Pesenti Gritti
2006-09-27 14:45:55 +02:00
7443ee4c8b
Don't allow empty nick names and if it happens consider the profile invalid.
Marco Pesenti Gritti
2006-09-26 22:52:45 +02:00
72d43fde28
Add a start method to the activity module, for initialization.
Marco Pesenti Gritti
2006-09-26 22:12:18 +02:00
5d78b148ff
Add a gecko module. Disable popups.
Marco Pesenti Gritti
2006-09-26 21:58:54 +02:00
92e37fd904
Fix add and remove friends
Marco Pesenti Gritti
2006-09-26 19:49:41 +02:00
c8fd8ef3d9
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Marco Pesenti Gritti
2006-09-26 19:37:43 +02:00
ba21a36ef8
Correctly deal with current activities on startup, buddy presence changes, and current activity changes
Dan Williams
2006-09-26 13:40:52 -04:00
c9533d448b
Fix current activity handling
Dan Williams
2006-09-26 13:39:42 -04:00
4975e94a84
Update some icon names
Marco Pesenti Gritti
2006-09-26 19:35:58 +02:00
ce577a6376
Refactor current activity handling to be top-level attributes and D-Bus signals, not stuck in the property dict
Dan Williams
2006-09-26 13:31:14 -04:00
31c69ed167
Hook up Buddy.add_activity() and Buddy.remove_activity()
Dan Williams
2006-09-26 13:23:12 -04:00
fa31b7c0bd
Align to the center of the icon
Marco Pesenti Gritti
2006-09-25 22:06:45 +02:00
5b3eeb0a9c
Keep the icon layout updated when adding buddies to the snow flake
Marco Pesenti Gritti
2006-09-25 22:01:35 +02:00
9619921735
Image layout fixes
Marco Pesenti Gritti
2006-09-25 21:35:25 +02:00
ef24aa7553
Scale the icon to a paritcular size
Dan Williams
2006-09-25 15:36:40 -04:00
5343a4d6ef
Fix mixup of set_constraints() args
Dan Williams
2006-09-25 15:27:52 -04:00
6e28f4467d
Add buddy icon to the buddy menu
Dan Williams
2006-09-25 15:20:28 -04:00
d585a251bd
Do simple height-flow layout on menu items, and add an add_image() function
Dan Williams
2006-09-25 15:20:08 -04:00
a8322a76eb
Fixes
Marco Pesenti Gritti
2006-09-25 20:50:15 +02:00
550c201101
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-25 14:15:49 -04:00
0e67d939a8
Set icon cache earlier
Dan Williams
2006-09-25 14:15:42 -04:00
d0664dc801
Add icon-changed signal
Dan Williams
2006-09-25 14:05:01 -04:00
9dd98949e5
Hrm not really sure why I need this
Marco Pesenti Gritti
2006-09-25 19:59:47 +02:00
5f88062cba
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Marco Pesenti Gritti
2006-09-25 19:41:24 +02:00
7ba30ea0d2
Clean up debug messages
Dan Williams
2006-09-25 13:42:37 -04:00
57992d3fb4
Handle None current activity case
Marco Pesenti Gritti
2006-09-25 19:41:08 +02:00
b1354cf711
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-25 13:24:40 -04:00
e89c88b191
Fix location of cache debug prints
Dan Williams
2006-09-25 13:24:27 -04:00
aa71d354b2
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Marco Pesenti Gritti
2006-09-25 19:15:44 +02:00
5e3d56fe77
Rename function to match previous _request_buddy_icon->_get_buddy_icon
Dan Williams
2006-09-25 13:15:36 -04:00
2ad9696c87
Adapt to BuddyModel constructor change
Marco Pesenti Gritti
2006-09-25 19:15:23 +02:00
709eefc5bd
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-25 13:14:36 -04:00
aa0adcf0c5
Unconditionally reschedule current activity switch timeout
Dan Williams
2006-09-25 07:35:44 -04:00
1070ed3ae6
Better layout
Marco Pesenti Gritti
2006-09-25 11:42:13 +02:00
d5f8d62d35
Add size request to BuddyActivityView and use it in IconLayout
Marco Pesenti Gritti
2006-09-25 11:35:30 +02:00
3e4c8cabc7
Switch to BuddyActivityView to show current activity
Dan Williams
2006-09-24 23:15:53 -04:00
da221ee84e
Add get_current_activity accessor
Dan Williams
2006-09-24 23:12:46 -04:00
07c0ffbb7d
Use two different activity types
Dan Williams
2006-09-24 23:12:09 -04:00
f83567ba32
Determine scale as a float so it's not clamped at 0
Dan Williams
2006-09-24 21:53:39 -04:00
e2f82f02a0
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-24 21:37:46 -04:00
701cef3f1d
Only broadcast and activity change if it actually changed
Dan Williams
2006-09-24 21:31:48 -04:00
b67c0a6b3d
Don't print EntryGroup messages for now
Dan Williams
2006-09-24 21:30:48 -04:00
d2e235838e
Only print out service resolutions, not updates
Dan Williams
2006-09-24 21:30:28 -04:00
7268d8803d
Ensure owner validity before using
Dan Williams
2006-09-24 21:29:11 -04:00
d42b9da06d
Use get/set_property rather than direct accessors
Dan Williams
2006-09-24 18:52:10 -04:00
bcd150fa81
Implement very simple spread out logic for the IconLayout
Marco Pesenti Gritti
2006-09-25 00:08:33 +02:00
3f73da0549
Some cleanups of the IconLayout
Marco Pesenti Gritti
2006-09-24 22:55:13 +02:00
eac58dcfed
Add test for icon layout
Marco Pesenti Gritti
2006-09-24 02:24:02 +02:00
ee4a416464
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Marco Pesenti Gritti
2006-09-24 02:12:12 +02:00
24987a8de1
Adapt to the new icons
Marco Pesenti Gritti
2006-09-24 02:11:43 +02:00
e92548df5c
Use the new BuddyModel color-changed signal
Dan Williams
2006-09-22 17:37:41 -04:00
d12c57895c
Add color-changed and current-activity-changed signals
Dan Williams
2006-09-22 17:37:16 -04:00
188394f09f
- Track BuddyModel appeared/disappeared signals, and update our icon colors accordingly - s/friend/buddy since BuddyModel isn't just for friends
Dan Williams
2006-09-22 17:24:56 -04:00
2031eb650a
- don't hardcode inactive buddy color - shorten signal handler id variable names - add appeared/disappeared signals to BuddyModel - deal with buddy disappearance
Dan Williams
2006-09-22 17:24:00 -04:00
6473444e09
Add a 'Disappeared' signal on the buddy object
Dan Williams
2006-09-22 17:21:34 -04:00
0aea72f485
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-22 16:35:09 -04:00
940329703f
Clean up buddy checking & retrieval; make constructor choice between name & real buddy explicit.
Dan Williams
2006-09-22 16:35:03 -04:00
fc000346e4
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Marco Pesenti Gritti
2006-09-22 21:50:20 +02:00
a2489b49d4
Fix a few bugs
Marco Pesenti Gritti
2006-09-22 21:49:59 +02:00
2d445fcc5f
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Dan Williams
2006-09-22 15:49:23 -04:00
2f7b3abef7
Monitor buddy property change signals on creation; misc cleanups
Dan Williams
2006-09-22 15:49:16 -04:00
fcef47181b
Don't hardcode property key names; protect against spurious _presence_olpc services; watch for changes on the _presence_olpc service, like current activity updates
Dan Williams
2006-09-22 15:47:12 -04:00
1ab8089457
Make Service a GObject subclass, and add a property-changed signal
Dan Williams
2006-09-22 15:44:25 -04:00
c978b5ed6d
Ensure properties will always be an empty dict
Dan Williams
2006-09-22 15:42:11 -04:00
f2b2b8c6ba
Fix friends removal
Marco Pesenti Gritti
2006-09-22 21:36:52 +02:00