Remove various unused bits

This commit is contained in:
Daniel Narvaez
2013-05-05 01:26:28 +02:00
parent 6c4a9b34a1
commit 9f71aa864f
7 changed files with 1 additions and 7 deletions
-1
View File
@@ -545,7 +545,6 @@ class ColorToolButton(Gtk.ToolItem):
title = GObject.property(type=str, getter=get_title, setter=set_title)
def do_draw(self, cr):
child = self.get_child()
if self._palette and self._palette.is_up():
allocation = self.get_allocation()
# draw a black background, has been done by the engine before
-1
View File
@@ -131,7 +131,6 @@ class RadioToolButton(Gtk.RadioToolButton):
type=object, setter=set_palette_invoker, getter=get_palette_invoker)
def do_draw(self, cr):
child = self.get_child()
if self.palette and self.palette.is_up():
allocation = self.get_allocation()
# draw a black background, has been done by the engine before
-1
View File
@@ -125,7 +125,6 @@ class ToggleToolButton(Gtk.ToggleToolButton):
getter=get_accelerator)
def do_draw(self, cr):
child = self.get_child()
if self.palette and self.palette.is_up():
allocation = self.get_allocation()
# draw a black background, has been done by the engine before
-1
View File
@@ -163,7 +163,6 @@ class ToolButton(Gtk.ToolButton):
type=object, setter=set_palette_invoker, getter=get_palette_invoker)
def do_draw(self, cr):
child = self.get_child()
if self.palette and self.palette.is_up():
allocation = self.get_allocation()
# draw a black background, has been done by the engine before