Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/presence
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-04-23 16:47:50 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-04-23 16:47:50 (GMT)
commit30a50bd9fc2d2f0e794b7dafca7b7d8181defd0a (patch)
treeb69c003e05403e9155f8a42ea8042e543536effc /sugar/presence
parent4ca4e5564ec2a010707865c8811a5415ff6943e1 (diff)
Add test allow_offline_iface to get_instance()
Diffstat (limited to 'sugar/presence')
-rw-r--r--sugar/presence/presenceservice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/presence/presenceservice.py b/sugar/presence/presenceservice.py
index ce5fbc5..cd5db0c 100644
--- a/sugar/presence/presenceservice.py
+++ b/sugar/presence/presenceservice.py
@@ -430,10 +430,10 @@ class _MockPresenceService(gobject.GObject):
return None
_ps = None
-def get_instance():
+def get_instance(allow_offline_iface=False):
"""Retrieve this process' view of the PresenceService"""
global _ps
if not _ps:
- _ps = PresenceService()
+ _ps = PresenceService(allow_offline_iface)
return _ps