Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManuel QuiƱones <manuq@laptop.org>2012-09-04 14:05:58 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-09-07 09:14:26 (GMT)
commit1376a53629e8a9aeabdd8174bf8876ca97859f60 (patch)
tree3a43f156072625075b8ea65fc03922a676185457 /src
parent58023dfbe1893e44079bd3c47953c6a0010da474 (diff)
Buddy Palette: attach the destroy signal to the widget
The structure of the Palette has changed, we need to get the widget first in order to attach the destroy callback. Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/view/buddymenu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/view/buddymenu.py b/src/jarabe/view/buddymenu.py
index d607cea..a2c0c92 100644
--- a/src/jarabe/view/buddymenu.py
+++ b/src/jarabe/view/buddymenu.py
@@ -47,7 +47,7 @@ class BuddyMenu(Palette):
icon=buddy_icon)
self._invite_menu = None
self._active_activity_changed_hid = None
- self.connect('destroy', self.__destroy_cb)
+ self.get_menu().connect('destroy', self.__destroy_cb)
self._buddy.connect('notify::nick', self.__buddy_notify_nick_cb)