Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/toolbutton.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/toolbutton.py')
-rw-r--r--src/sugar/graphics/toolbutton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/graphics/toolbutton.py b/src/sugar/graphics/toolbutton.py
index f15e406..25833b6 100644
--- a/src/sugar/graphics/toolbutton.py
+++ b/src/sugar/graphics/toolbutton.py
@@ -59,7 +59,7 @@ def setup_accelerator(tool_button):
class ToolButton(gtk.ToolButton):
- __gtype_name__ = "SugarToolButton"
+ __gtype_name__ = 'SugarToolButton'
def __init__(self, icon_name=None, **kwargs):
self._accelerator = None
@@ -151,7 +151,7 @@ class ToolButton(gtk.ToolButton):
elif child.state == gtk.STATE_PRELIGHT:
child.style.paint_box(event.window, gtk.STATE_PRELIGHT,
gtk.SHADOW_NONE, event.area,
- child, "toolbutton-prelight",
+ child, 'toolbutton-prelight',
allocation.x, allocation.y,
allocation.width, allocation.height)