Try to make sugar.presence log messages less misleading (#4027)

This commit is contained in:
Simon McVittie
2007-10-16 17:51:36 +01:00
parent fa55b5af09
commit 48bc73d0c4
4 changed files with 27 additions and 10 deletions
+3 -2
View File
@@ -322,7 +322,7 @@ class Activity(Window, gtk.Container):
logging.debug("*** Act %s, mesh instance %r, scope %s" % (self._activity_id, mesh_instance, share_scope))
if mesh_instance:
# There's already an instance on the mesh, join it
logging.debug("*** Act %s joining existing mesh instance" % self._activity_id)
logging.debug("*** Act %s joining existing mesh instance %r", self._activity_id, mesh_instance)
self._shared_activity = mesh_instance
self._shared_activity.connect('notify::private',
self.__privacy_changed_cb)
@@ -537,7 +537,8 @@ class Activity(Window, gtk.Container):
logging.debug('Share of activity %s failed: %s.' % (self._activity_id, err))
return
logging.debug('Share of activity %s successful.' % self._activity_id)
logging.debug('Share of activity %s successful, PS activity is %r.',
self._activity_id, activity)
activity.props.name = self._jobject.metadata['title']