Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/console/console.py
diff options
context:
space:
mode:
authorSimon 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)
commit0afad46773a52e8ccfcd5dd555e212ff6bb97f6d (patch)
tree6c760ba090c8f45b335511eaa9b56943534883d3 /services/console/console.py
parent9ac5d38e905afd10975092f138db0985064e51cd (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-xservices/console/console.py2
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()