Don't refresh icons on icon theme change (this is a regression, but since the migration to g.i. this makes mintmenu crash)
This commit is contained in:
parent
43c1aed64e
commit
924342161a
@ -208,7 +208,9 @@ class easyButton( Gtk.Button ):
|
|||||||
|
|
||||||
# IconTheme changed, setup new button icons
|
# IconTheme changed, setup new button icons
|
||||||
def themeChanged( self, theme ):
|
def themeChanged( self, theme ):
|
||||||
self.iconChanged()
|
#self.iconChanged()
|
||||||
|
# Do nothing, this crashes mintmenu with a segfault..
|
||||||
|
pass
|
||||||
|
|
||||||
def iconChanged( self ):
|
def iconChanged( self ):
|
||||||
icon = self.getIcon( self.iconSize )
|
icon = self.getIcon( self.iconSize )
|
||||||
|
Loading…
Reference in New Issue
Block a user