From 261a7e743fe406797b13edcdcc185472f3766eca Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 21 Mar 2007 00:04:04 +0100 Subject: [PATCH] Emit the activated signal also on toggles --- sugar/graphics/toggleiconbutton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/graphics/toggleiconbutton.py b/sugar/graphics/toggleiconbutton.py index 06f55217..ae594f84 100644 --- a/sugar/graphics/toggleiconbutton.py +++ b/sugar/graphics/toggleiconbutton.py @@ -60,7 +60,7 @@ class ToggleIconButton(IconButton, hippo.CanvasItem): def do_button_press_event(self, event): self.props.toggled = not self._toggled - return True + return IconButton.do_button_press_event(self, event) def prelight(self, enter): if enter: