diff options
Diffstat (limited to 'rpms/sugar/0075-sl-2955-Ignore-Buddy-updates-before-receiving-the-in.patch')
-rw-r--r-- | rpms/sugar/0075-sl-2955-Ignore-Buddy-updates-before-receiving-the-in.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/rpms/sugar/0075-sl-2955-Ignore-Buddy-updates-before-receiving-the-in.patch b/rpms/sugar/0075-sl-2955-Ignore-Buddy-updates-before-receiving-the-in.patch new file mode 100644 index 0000000..33798d5 --- /dev/null +++ b/rpms/sugar/0075-sl-2955-Ignore-Buddy-updates-before-receiving-the-in.patch @@ -0,0 +1,28 @@ +From 6ffd55af04030a77cf13b6825bbfcf8d19509bed Mon Sep 17 00:00:00 2001 +From: Ajay Garg <ajay@activitycentral.com> +Date: Sat, 28 Jan 2012 14:13:33 +0530 +Subject: [PATCH 75/82] sl#2955: Ignore Buddy updates before receiving the + initial Buddy list +Organization: Sugar Labs Foundation + +--- + src/jarabe/model/neighborhood.py | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/src/jarabe/model/neighborhood.py b/src/jarabe/model/neighborhood.py +index 828cb14..4528a15 100644 +--- a/src/jarabe/model/neighborhood.py ++++ b/src/jarabe/model/neighborhood.py +@@ -427,7 +427,8 @@ class _Account(gobject.GObject): + + def __buddy_info_updated_cb(self, handle, properties): + logging.debug('_Account.__buddy_info_updated_cb %r', handle) +- self.emit('buddy-updated', self._buddy_handles[handle], properties) ++ if handle in self._buddy_handles: ++ self.emit('buddy-updated', self._buddy_handles[handle], properties) + + def __current_activity_changed_cb(self, contact_handle, activity_id, + room_handle): +-- +1.7.4.4 + |