Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
This commit is contained in:
commit
7fd05154d3
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
||||
* #4238: Handle double BuddyLeft in handle tracking in sugar.presence (morgs)
|
||||
|
||||
Snapshot 57402cf309
|
||||
|
||||
* Add new keybindings (Ctrl+Q, Ctrl+escape) for close activity (erikos)
|
||||
|
@ -586,7 +586,6 @@ class Activity(Window, gtk.Container):
|
||||
Once the activity is shared, its privacy can be changed by setting
|
||||
its 'private' property.
|
||||
"""
|
||||
# FIXME: Make private=True to turn on the by-invitation-only scope
|
||||
if self._shared_activity and self._shared_activity.props.joined:
|
||||
raise RuntimeError("Activity %s already shared." %
|
||||
self._activity_id)
|
||||
|
@ -203,7 +203,8 @@ class Activity(gobject.GObject):
|
||||
def _buddy_left_cb(self, object_path):
|
||||
_logger.debug('%r: buddy %s left', self, object_path)
|
||||
gobject.idle_add(self._emit_buddy_left_signal, object_path)
|
||||
handle = self._buddy_path_to_handle.pop(object_path)
|
||||
handle = self._buddy_path_to_handle.pop(object_path, None)
|
||||
if handle:
|
||||
self._handle_to_buddy_path.pop(handle, None)
|
||||
|
||||
def _emit_new_channel_signal(self, object_path):
|
||||
|
Loading…
Reference in New Issue
Block a user