Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/toggletoolbutton.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/toggletoolbutton.py')
-rw-r--r--src/sugar/graphics/toggletoolbutton.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/graphics/toggletoolbutton.py b/src/sugar/graphics/toggletoolbutton.py
index cdaf2f0..012c2b0 100644
--- a/src/sugar/graphics/toggletoolbutton.py
+++ b/src/sugar/graphics/toggletoolbutton.py
@@ -28,7 +28,7 @@ from sugar.graphics.palette import Palette, ToolInvoker
class ToggleToolButton(gtk.ToggleToolButton):
- __gtype_name__ = "SugarToggleToolButton"
+ __gtype_name__ = 'SugarToggleToolButton'
def __init__(self, named_icon=None):
gtk.ToggleToolButton.__init__(self)
@@ -82,7 +82,7 @@ class ToggleToolButton(gtk.ToggleToolButton):
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)