Merge branch 'master' of git+ssh://j5@dev.laptop.org/git/sugar
This commit is contained in:
commit
9e87ca718c
@ -50,7 +50,7 @@ class RadioToolButton(gtk.RadioToolButton):
|
||||
self._palette.props.invoker = WidgetInvoker(self.child)
|
||||
|
||||
def do_expose_event(self, event):
|
||||
if self._palette:
|
||||
if self._palette and self._palette.props.draw_gap:
|
||||
if self._palette.is_up() or self.child.state == gtk.STATE_PRELIGHT:
|
||||
invoker = self._palette.props.invoker
|
||||
invoker.draw_invoker_rect(event, self._palette)
|
||||
|
@ -49,7 +49,7 @@ class ToggleToolButton(gtk.ToggleToolButton):
|
||||
self._palette.props.invoker = WidgetInvoker(self.child)
|
||||
|
||||
def do_expose_event(self, event):
|
||||
if self._palette:
|
||||
if self._palette and self._palette.props.draw_gap:
|
||||
if self._palette.is_up() or self.child.state == gtk.STATE_PRELIGHT:
|
||||
invoker = self._palette.props.invoker
|
||||
invoker.draw_invoker_rect(event, self._palette)
|
||||
|
@ -51,7 +51,7 @@ class ToolButton(gtk.ToolButton):
|
||||
self.set_palette(Palette(text))
|
||||
|
||||
def do_expose_event(self, event):
|
||||
if self._palette:
|
||||
if self._palette and self._palette.props.draw_gap:
|
||||
if self._palette.is_up() or self.child.state == gtk.STATE_PRELIGHT:
|
||||
invoker = self._palette.props.invoker
|
||||
invoker.draw_invoker_rect(event, self._palette)
|
||||
|
Loading…
Reference in New Issue
Block a user