Commit Graph

110 Commits

Author SHA1 Message Date
Guillaume Desmottes
a4e18cf9c5 add get_preferred_connection method to PresenceService 2007-04-16 16:41:00 +02:00
Mike C. Fletcher
8635a702c6 Documentation for the activity and buddy presence objects 2007-04-15 00:27:48 -04:00
Mike C. Fletcher
0fc5e67dcc More documentation, mostly for the sugar.presence.presenceservice
module.
2007-04-14 23:38:21 -04:00
Dan Williams
3abe79353a Asynchronize activity sharing on the client side 2007-04-13 16:27:58 -04:00
Dan Williams
defd9f76e3 Convert icon data to python string before exposing it 2007-04-10 22:24:31 -04:00
Dan Williams
bf4b1a3f8f Fix icon changed signal handling in sugar PS bindings 2007-04-10 15:23:01 -04:00
Dan Williams
eee98e1f82 Re-enable new PresenceService by default 2007-04-10 14:49:14 -04:00
Dan Williams
a07e946cc4 Readd mock presence service and enable it by default 2007-04-10 08:39:02 -04:00
Dan Williams
76a0f45aa8 More new PS fixes 2007-04-09 16:05:32 -04:00
Dan Williams
bc083dae5a Cut over to new PresenceService 2007-04-09 14:40:56 -04:00
Dan Williams
2509d990e4 Cut over to new PresenceService 2007-04-09 14:40:50 -04:00
Marco Pesenti Gritti
f59fab783f Change the feedback for connected/connecting/disconnected access point,
using two different types of pulsing.
2007-03-29 17:25:47 +02:00
Marco Pesenti Gritti
bf805bfa2f Disable the presence service. You can reenable it by just
changing the _ENABLE var to True.
2007-03-28 12:17:34 +02:00
Justin Gallardo
b9f9ef0fe9 Changed all tabs to 4 spaces for python style 2006-12-04 11:12:24 -08:00
Dan Williams
1226b0b6b9 Fix Buddy object's get_service_of_type() method
This call would always fail for activity services because the
dbus bindings for it did not pass in the activity at all.  Fix
that.
2006-10-20 13:15:23 -04:00
Marco Pesenti Gritti
615242f4f8 Add LGPL header 2006-10-15 01:08:44 +02:00
Marco Pesenti Gritti
1df5b0020d Fix get_published_values to actually return the dict.
Get rid of the activity title property, we are not using it anyway.
2006-10-13 13:03:24 +02:00
Ian Bicking
bdf9c1b392 Updates to presence test and mockdbus 2006-10-03 12:50:21 -05:00
Ian Bicking
b010c0cd42 I added tests for the presence client interface. But the presence
client interface, I realize, is really boring and not worth testing
much.  More interesting, I guess, is the mockdbus module.  This will
need some more extension to be used by a server (I think), like the
presence server.
2006-10-03 12:25:05 -05:00
Dan Williams
70cbd90c7a Fix signal args 2006-09-27 15:01:40 -04:00
Dan Williams
ce577a6376 Refactor current activity handling to be top-level attributes and D-Bus signals, not stuck in the property dict 2006-09-26 13:31:14 -04:00
Dan Williams
6473444e09 Add a 'Disappeared' signal on the buddy object 2006-09-22 17:21:34 -04:00
Dan Williams
c978b5ed6d Ensure properties will always be an empty dict 2006-09-22 15:42:11 -04:00
Dan Williams
ab7ef75518 Add current activity accessor 2006-09-21 16:44:19 -04:00
Dan Williams
d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -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
Dan Williams
e402fe3286 Get initial properties synchronously rather than async 2006-09-08 11:26:40 -04:00
Dan Williams
e2306d81bd Add PropertyChanged signal for Buddy objects because color and address can change later. Also don't try to stuff None through dbus 2006-09-07 23:30:22 -04:00
Dan Williams
ef47f6e4c5 Fix buddy & activity visibility leaks if they are not yet valid; add Activity color attribute and don't make activity valid until we get the color 2006-08-25 14:55:19 -04:00
Dan Williams
d2c0829165 Don't traceback when somebody doesn't advertise their color 2006-08-24 11:09:53 -04:00
Dan Williams
eef5e5b18a Convert PS bindings instantiation into a singleton to cut resource usage 2006-08-23 11:38:56 -04:00
Dan Williams
d334b6e3bd Add a color property and access to Buddy objects 2006-08-23 11:14:46 -04:00
Dan Williams
6d7782654c Cache activity id 2006-08-16 23:05:53 -04:00
Marco Pesenti Gritti
c7c71d25a8 Use dbus activation to start the presence service 2006-08-13 00:28:38 +02:00
Marco Pesenti Gritti
d919848324 Rework to not use protected API 2006-08-07 11:08:10 +02:00
Dan Williams
3117d454b9 add service unregistration 2006-08-02 10:27:09 -04:00
Marco Pesenti Gritti
57cc6a303c Some fixes, adapt the presence view to the new api 2006-07-26 11:44:54 +02:00
Dan Williams
ae1b278d7a Fix getting published service values 2006-07-25 19:15:36 -05:00
Dan Williams
164add907d Make shareActivity work 2006-07-25 19:04:15 -05:00
Marco Pesenti Gritti
1ef5c576c2 Do not use dbus_bindings for exceptions. Use dbus.exceptions. Thanks J5 to point it out. 2006-07-25 22:52:45 +02:00
Dan Williams
3798f29a6b Make dbus service properties public 2006-07-24 11:27:21 -05:00
Dan Williams
a827175a28 Fix dbus_bindings import namespace 2006-07-24 11:08:59 -05:00
Dan Williams
5887cb39bb Fix get_icon_pixbuf() 2006-07-24 10:56:06 -05:00
Dan Williams
7c996b0011 More fixes, and convert python PS bindings to more glib style method names 2006-07-23 09:21:00 -05:00
Dan Williams
b63e78a174 Make the PresenceService stuff start to work 2006-07-22 23:56:40 -05:00
Dan Williams
766b82d467 Switch sugar/presence module over to a thin API wrapper around the PresenceService dbus API 2006-07-19 15:27:37 -04:00
Marco Pesenti Gritti
46d2f1c532 Get rid of pygtk.require. It doesn't make a lot of sense
and recent apps are not using it anyway.
2006-07-16 17:25:32 +02:00
Marco Pesenti Gritti
21b46a0022 Bunch of fixes, sharing should be back to work 2006-07-15 12:31:06 +02:00
Dan Williams
4511d13fb5 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-22 22:42:35 -04:00
Dan Williams
f2ef2a6847 Make activities emit an ActivityShared dbus signal; and have the shell & presence window detect that and disable the 'share' button 2006-06-22 22:42:29 -04:00