diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-07-25 14:30:15 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-07-25 14:30:15 (GMT) |
commit | 0afad46773a52e8ccfcd5dd555e212ff6bb97f6d (patch) | |
tree | 6c760ba090c8f45b335511eaa9b56943534883d3 /services/console/console.py | |
parent | 9ac5d38e905afd10975092f138db0985064e51cd (diff) |
Add a basic Presence Service tab to the developer console.
* Newly added activities and buddies appear in bold for 5 seconds.
* Removed activities and buddies stay in the list with strikethrough applied
for 5 seconds, after which they vanish.
* Columns other than "object path" don't do anything.
* In the object path column, the common prefix is replaced by ".../".
Diffstat (limited to 'services/console/console.py')
-rwxr-xr-x | services/console/console.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/console/console.py b/services/console/console.py index ec74b8d..32ff103 100755 --- a/services/console/console.py +++ b/services/console/console.py @@ -53,6 +53,7 @@ class Console: self._load_interface('memphis', 'Memphis') self._load_interface('logviewer', 'Log Viewer') self._load_interface('terminal', 'Terminal') + self._load_interface('ps_watcher', 'Presence') main_hbox = gtk.HBox() main_hbox.pack_start(self.notebook, True, True, 0) @@ -86,6 +87,7 @@ class Service(dbus.service.Object): bus = dbus.SessionBus() name = dbus.service.BusName(CONSOLE_BUS, bus) + obj = Service(name) gtk.main() |