Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/session/Session.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/session/Session.py')
-rw-r--r--shell/session/Session.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/shell/session/Session.py b/shell/session/Session.py
index de6b514..66a085f 100644
--- a/shell/session/Session.py
+++ b/shell/session/Session.py
@@ -44,22 +44,6 @@ class MatchboxProcess(Process):
def get_name(self):
return 'Matchbox'
-class PresenceServiceProcess(Process):
- def __init__(self):
- Process.__init__(self, "sugar-presence-service")
-
- def get_name(self):
- return "PresenceService"
-
- def start(self):
- Process.start(self)
- bus = dbus.Bus()
- ret = False
- # Wait for the presence service to start up
- while not ret:
- ret = dbus.dbus_bindings.bus_name_has_owner(bus._connection, PresenceService.DBUS_SERVICE)
- time.sleep(0.2)
-
class Session:
"""Takes care of running the shell and all the sugar processes"""
def __init__(self, registry):
@@ -76,9 +60,6 @@ class Session:
process = MatchboxProcess()
process.start()
- process = PresenceServiceProcess()
- process.start()
-
shell = Shell(self._registry)
shell.set_console(console)
shell.start()