Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/Session.py
diff options
context:
space:
mode:
authorDan Williams <dcbw@localhost.localdomain>2006-07-23 04:56:40 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-07-23 04:56:40 (GMT)
commitb63e78a174d1db625edfd20ff6ae3fa6a412bde9 (patch)
tree56dc8cd06a95c4a72b19f4135c6c6d2d112ba570 /shell/Session.py
parent1c35f8d92ca82525c82ede9b543fe603798ee817 (diff)
Make the PresenceService stuff start to work
Diffstat (limited to 'shell/Session.py')
-rw-r--r--shell/Session.py17
1 files changed, 16 insertions, 1 deletions
diff --git a/shell/Session.py b/shell/Session.py
index 87ea3db..d44889d 100644
--- a/shell/Session.py
+++ b/shell/Session.py
@@ -1,6 +1,7 @@
import os
import gtk
import gobject
+import time
from Shell import Shell
from Process import Process
@@ -44,6 +45,17 @@ class MatchboxProcess(Process):
def get_name(self):
return 'Matchbox'
+class PresenceServiceProcess(Process):
+ def __init__(self):
+ Process.__init__(self, "python shell/PresenceService/PresenceService.py",)
+
+ def get_name(self):
+ return "PresenceService"
+
+ def start(self):
+ Process.start(self, True)
+ time.sleep(3)
+
class Session:
"""Takes care of running the shell and all the sugar processes"""
@@ -57,7 +69,10 @@ class Session:
process = MatchboxProcess()
process.start()
-
+
+ process = PresenceServiceProcess()
+ process.start()
+
shell = Shell()
shell.start()