Fix #2935: bad method name
This commit is contained in:
parent
2ed32d1a11
commit
e04c0af114
@ -41,7 +41,7 @@ class ToggleToolButton(gtk.ToggleToolButton):
|
|||||||
self._palette.props.invoker = WidgetInvoker(self.child)
|
self._palette.props.invoker = WidgetInvoker(self.child)
|
||||||
|
|
||||||
def set_tooltip(self, text):
|
def set_tooltip(self, text):
|
||||||
self._set_palette(Palette(text))
|
self.set_palette(Palette(text))
|
||||||
|
|
||||||
def do_expose_event(self, event):
|
def do_expose_event(self, event):
|
||||||
if self._palette and self._palette.is_up():
|
if self._palette and self._palette.is_up():
|
||||||
|
Loading…
Reference in New Issue
Block a user