Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-23 21:27:11 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-07-23 21:27:11 (GMT)
commit58d57822b8a4ca4a7f119dd343f5deafcf21d089 (patch)
tree3727dc08fffd26b98ec6380fc6eb09a35748a30f /sugar/graphics
parent7003466f0d9b74b0082c8b5d74b111115263567a (diff)
Don't pass the weight instead of the flags.
Diffstat (limited to 'sugar/graphics')
-rw-r--r--sugar/graphics/combobox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/combobox.py b/sugar/graphics/combobox.py
index 02900d7..46e7249 100644
--- a/sugar/graphics/combobox.py
+++ b/sugar/graphics/combobox.py
@@ -56,7 +56,7 @@ class ComboBox(gtk.ComboBox):
def _get_real_name_from_theme(self, name, size):
icon_theme = gtk.icon_theme_get_default()
width, height = gtk.icon_size_lookup(size)
- info = icon_theme.lookup_icon(name, width, height)
+ info = icon_theme.lookup_icon(name, width, 0)
if not info:
raise ValueError("Icon '" + name + "' not found.")
fname = info.get_filename()