One less _set_palette().

This commit is contained in:
Tomeu Vizoso 2007-08-21 20:47:16 +02:00
parent 4eb5a86a28
commit 3084176057

View File

@ -45,7 +45,7 @@ class RadioToolButton(gtk.RadioToolButton):
self._palette.props.invoker = WidgetInvoker(self.child)
def set_tooltip(self, text):
self._set_palette(Palette(text))
self.set_palette(Palette(text))
def do_expose_event(self, event):
if self._palette and self._palette.is_up():