From 58d57822b8a4ca4a7f119dd343f5deafcf21d089 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 23 Jul 2007 23:27:11 +0200 Subject: [PATCH] Don't pass the weight instead of the flags. --- sugar/graphics/combobox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/graphics/combobox.py b/sugar/graphics/combobox.py index 02900d7f..46e7249a 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()