Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2012-11-27 13:37:52 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-11-27 13:39:34 (GMT)
commit344c72a3beb599b76f3ac806c34b7727a258530b (patch)
treee74c17fe1c16b3625dbcdc526dad7eb901916223
parent15916ed224eaa9dca8ed31b3e6039b3e381cd620 (diff)
RadioToolButton: hide tooltip on click #4268
This is the same behaviour as with the ToolButton. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel QuiƱones <manuq@laptop.org>
-rw-r--r--src/sugar/graphics/radiotoolbutton.py4
1 files changed, 4 insertions, 0 deletions
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)