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:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 19:14:59 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-23 16:14:34 (GMT)
commit7acfbd070fa207dff309383da6e743ad2b9843c3 (patch)
tree662b4cb7ff5494f162365d85098e7fce7179d35e /src/sugar/graphics/toggletoolbutton.py
parent5f13fcfc847ecff18b9558de8ce29da884a06d7a (diff)
style cleanup: prefer ' for strings
Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
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)