From a1127355db85b0e44798b75593c4b63bfda49f0c Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Wed, 13 Mar 2013 14:00:13 +0000 Subject: [PATCH] Fixed: use default icon theme (IconTheme() returns a new empty one) --- usr/lib/linuxmint/mintMenu/plugins/easybuttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py index fb09620..e73c448 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py +++ b/usr/lib/linuxmint/mintMenu/plugins/easybuttons.py @@ -37,7 +37,7 @@ class IconManager(GObject.GObject): # This takes to much time and there are only a very few applications that use icons from different themes #self.themes = map( createTheme, [ d for d in os.listdir( "/usr/share/icons" ) if os.path.isdir( os.path.join( "/usr/share/icons", d ) ) ] ) - defaultTheme = Gtk.IconTheme() + defaultTheme = Gtk.IconTheme.get_default() defaultKdeTheme = createTheme( "kde.default" ) # Themes with the same content as the default them aren't needed