From b63e78a174d1db625edfd20ff6ae3fa6a412bde9 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 23 Jul 2006 04:56:40 +0000 Subject: Make the PresenceService stuff start to work --- (limited to 'shell/Session.py') 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() -- cgit v0.9.1