Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/iconbutton.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/graphics/iconbutton.py')
-rw-r--r--sugar/graphics/iconbutton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/graphics/iconbutton.py b/sugar/graphics/iconbutton.py
index 822ddf1..5c807a7 100644
--- a/sugar/graphics/iconbutton.py
+++ b/sugar/graphics/iconbutton.py
@@ -45,8 +45,8 @@ class IconButton(CanvasIcon):
self._set_size(STANDARD_SIZE)
- self.connect('button-press-event',
- self._icon_button_button_press_event_cb)
+ self.connect_after('button-press-event',
+ self._icon_button_button_press_event_cb)
def _set_size(self, size):
if size == SMALL_SIZE: