#4238: Handle double BuddyLeft in handle tracking in sugar.presence
This commit is contained in:
parent
06ec3d2b22
commit
012fc5d23b
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
|||||||
|
* #4238: Handle double BuddyLeft in handle tracking in sugar.presence (morgs)
|
||||||
|
|
||||||
Snapshot 57402cf309
|
Snapshot 57402cf309
|
||||||
|
|
||||||
* Add new keybindings (Ctrl+Q, Ctrl+escape) for close activity (erikos)
|
* Add new keybindings (Ctrl+Q, Ctrl+escape) for close activity (erikos)
|
||||||
|
@ -203,8 +203,9 @@ class Activity(gobject.GObject):
|
|||||||
def _buddy_left_cb(self, object_path):
|
def _buddy_left_cb(self, object_path):
|
||||||
_logger.debug('%r: buddy %s left', self, object_path)
|
_logger.debug('%r: buddy %s left', self, object_path)
|
||||||
gobject.idle_add(self._emit_buddy_left_signal, 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)
|
||||||
self._handle_to_buddy_path.pop(handle, None)
|
if handle:
|
||||||
|
self._handle_to_buddy_path.pop(handle, None)
|
||||||
|
|
||||||
def _emit_new_channel_signal(self, object_path):
|
def _emit_new_channel_signal(self, object_path):
|
||||||
"""Generate new-channel GObject signal with channel object path
|
"""Generate new-channel GObject signal with channel object path
|
||||||
|
Loading…
Reference in New Issue
Block a user