Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/activity.py
diff options
context:
space:
mode:
authorMorgan Collett <morgan.collett@gmail.com>2007-07-09 13:24:06 (GMT)
committer Morgan Collett <morgan.collett@gmail.com>2007-07-09 13:24:06 (GMT)
commit0fdd201b8f383188b5f283313ee30115ef8f1896 (patch)
tree8c7a964104a58534162cc5ca485a67405372d4c9 /src/activity.py
parentf7c174aa82bbafa6ebdc33930acb9f8aaa37e689 (diff)
parentc9c66a6b53699090f6b863cfa249395ffca653d6 (diff)
Merge http://people.freedesktop.org/~smcv/git/presence-service
Diffstat (limited to 'src/activity.py')
-rw-r--r--src/activity.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/activity.py b/src/activity.py
index 0cc16e7..019ac65 100644
--- a/src/activity.py
+++ b/src/activity.py
@@ -181,6 +181,11 @@ class Activity(ExportedGObject):
assert self._room, self._room
conn = self._tp.get_connection()
+ if CONN_INTERFACE_ACTIVITY_PROPERTIES not in conn:
+ # we should already have warned about this somewhere -
+ # certainly, don't emit a warning per activity!
+ return
+
def got_properties_err(e):
_logger.warning('Failed to get initial activity properties '
'for %s: %s', self._id, e)
@@ -817,6 +822,10 @@ class Activity(ExportedGObject):
conn = self._tp.get_connection()
+ if CONN_INTERFACE_ACTIVITY_PROPERTIES not in conn:
+ # we should already have warned about this somewhere
+ return
+
def properties_set(e=None):
if e is None:
_logger.debug('Successfully set activity properties for %s',