This commit is contained in:
Clement Lefebvre 2017-04-28 16:34:26 +01:00
parent 7dde0271ee
commit 63b9abce0e

View File

@ -592,6 +592,8 @@ class MenuWin( object ):
self.buttonText = self.settings.get_string("applet-text") self.buttonText = self.settings.get_string("applet-text")
self.theme_name = self.settings.get_string( "theme-name" ) self.theme_name = self.settings.get_string( "theme-name" )
self.hotkeyText = self.settings.get_string( "hot-key" ) self.hotkeyText = self.settings.get_string( "hot-key" )
if not os.path.exists(self.settings.get_string("applet-icon")):
self.settings.reset("applet-icon")
self.buttonIcon = self.settings.get_string( "applet-icon" ) self.buttonIcon = self.settings.get_string( "applet-icon" )
self.iconSize = self.settings.get_int( "applet-icon-size" ) self.iconSize = self.settings.get_int( "applet-icon-size" )