Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/model/shell.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2010-03-10 14:14:55 (GMT)
committer Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-20 13:02:25 (GMT)
commite1333de208a82c99da076bf26642a59f2868bd70 (patch)
tree18ad3f3b346442c9312f2b41f3b9a696a2951687 /src/jarabe/model/shell.py
parentea0d3dc189c65ab181d8180b5df972c6d1dcfb7a (diff)
Add OwnerBuddyModel class so it is dealt with locally
Diffstat (limited to 'src/jarabe/model/shell.py')
-rw-r--r--src/jarabe/model/shell.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jarabe/model/shell.py b/src/jarabe/model/shell.py
index 636a5b9..6d6cbde 100644
--- a/src/jarabe/model/shell.py
+++ b/src/jarabe/model/shell.py
@@ -147,13 +147,14 @@ class Activity(gobject.GObject):
"""
pservice = presenceservice.get_instance()
+ logging.info('KILL_PS check in local list of activities')
# HACK to suppress warning in logs when activity isn't found
# (if it's locally launched and not shared yet)
activity = None
- for act in pservice.get_activities():
- if self._activity_id == act.props.id:
- activity = act
- break
+ #for act in pservice.get_activities():
+ # if self._activity_id == act.props.id:
+ # activity = act
+ # break
if activity != None:
return XoColor(activity.props.color)