Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorEduardo Silva <edsiper@gmail.com>2007-08-26 20:49:55 (GMT)
committer Eduardo Silva <edsiper@gmail.com>2007-08-26 20:49:55 (GMT)
commit8c288d7deeda09cf9d98b9ce57186bed5c808f3e (patch)
tree96fc46dbca33a81d6ee949a8679a2e5a93160698 /sugar
parent405dafc90850807bb478e3a00a031e07f602f0ff (diff)
Adapt Button() to new icon API
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/button.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/button.py b/sugar/graphics/button.py
index fc869f9..647f36d 100644
--- a/sugar/graphics/button.py
+++ b/sugar/graphics/button.py
@@ -25,7 +25,7 @@ class CanvasButton(hippo.CanvasButton):
hippo.CanvasButton.__init__(self, text=label)
if icon_name:
- icon = Icon(icon_name,icon_size=gtk.ICON_SIZE_BUTTON)
+ icon = Icon(icon_name=icon_name, icon_size=gtk.ICON_SIZE_BUTTON)
self.props.widget.set_image(icon)
icon.show()