Fixed: use default icon theme (IconTheme() returns a new empty one)

This commit is contained in:
Clement Lefebvre 2013-03-13 14:00:13 +00:00
parent 9a97c9fcc8
commit a1127355db

View File

@ -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