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:
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/toolbutton.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/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)