diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-13 00:32:26 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-13 00:32:26 (GMT) |
commit | 55609885de00509097af840427f1688bb68b136a (patch) | |
tree | a5849ac6fb7d2682f040093741377d690453c981 /src/sugar/graphics/toolbutton.py | |
parent | ff87ce76e5516e41c540c2b1000c73421746cd95 (diff) |
Add radiopalette.py
Diffstat (limited to 'src/sugar/graphics/toolbutton.py')
-rw-r--r-- | src/sugar/graphics/toolbutton.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sugar/graphics/toolbutton.py b/src/sugar/graphics/toolbutton.py index 6205b8a..047df06 100644 --- a/src/sugar/graphics/toolbutton.py +++ b/src/sugar/graphics/toolbutton.py @@ -68,7 +68,6 @@ class ToolButton(gtk.ToolButton): if icon_name: self.set_icon(icon_name) - self.connect('clicked', self.__button_clicked_cb) self.get_child().connect('can-activate-accel', self.__button_can_activate_accel_cb) @@ -151,8 +150,7 @@ class ToolButton(gtk.ToolButton): allocation.width, allocation.height) gtk.ToolButton.do_expose_event(self, event) - - def __button_clicked_cb(self, widget): + + def do_clicked(self): if self.palette: self.palette.popdown(True) - |