set trayicon checkbox unsensitive when trayicon module is not available
This commit is contained in:
parent
8e0fb06706
commit
c4c79d4d46
|
@ -436,7 +436,7 @@ class preference_Window:
|
||||||
#trayicon
|
#trayicon
|
||||||
st = self.plugin.config['trayicon']
|
st = self.plugin.config['trayicon']
|
||||||
self.chk_trayicon.set_active(st)
|
self.chk_trayicon.set_active(st)
|
||||||
if self.plugin.sleeper.getState() == common.sleepy.STATE_UNKNOWN:
|
if isinstance(self.plugin.systray, gtkgui.systrayDummy):
|
||||||
self.chk_trayicon.set_sensitive(False)
|
self.chk_trayicon.set_sensitive(False)
|
||||||
|
|
||||||
#Color for account text
|
#Color for account text
|
||||||
|
|
Loading…
Reference in New Issue