diff options
Diffstat (limited to 'sugar/graphics')
-rw-r--r-- | sugar/graphics/combobox.py | 2 |
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() |