From 58d57822b8a4ca4a7f119dd343f5deafcf21d089 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 23 Jul 2007 21:27:11 +0000 Subject: Don't pass the weight instead of the flags. --- (limited to 'sugar/graphics') 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() -- cgit v0.9.1