From 344c72a3beb599b76f3ac806c34b7727a258530b Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Tue, 27 Nov 2012 13:37:52 +0000 Subject: RadioToolButton: hide tooltip on click #4268 This is the same behaviour as with the ToolButton. Signed-off-by: Simon Schampijer Acked-by: Manuel QuiƱones --- diff --git a/src/sugar/graphics/radiotoolbutton.py b/src/sugar/graphics/radiotoolbutton.py index b5fabf2..b882deb 100644 --- a/src/sugar/graphics/radiotoolbutton.py +++ b/src/sugar/graphics/radiotoolbutton.py @@ -180,3 +180,7 @@ class RadioToolButton(gtk.RadioToolButton): allocation.width, allocation.height) gtk.RadioToolButton.do_expose_event(self, event) + + def do_clicked(self): + if self.palette: + self.palette.popdown(True) -- cgit v0.9.1