Ticket #4268: hide_tooltip_on_click_toolkit_gtk2.patch

File hide_tooltip_on_click_toolkit_gtk2.patch, 500 bytes (added by erikos, 11 years ago)

toolkit-gtk2 patch (test with TA)

  • src/sugar/graphics/radiotoolbutton.py

    diff --git a/src/sugar/graphics/radiotoolbutton.py b/src/sugar/graphics/radiotoolbutton.py
    index b5fabf2..b882deb 100644
    a b class RadioToolButton(gtk.RadioToolButton): 
    180180                                  allocation.width, allocation.height)
    181181
    182182        gtk.RadioToolButton.do_expose_event(self, event)
     183
     184    def do_clicked(self):
     185        if self.palette:
     186            self.palette.popdown(True)