Tweaks to tray code.
This commit is contained in:
parent
1372b3fc67
commit
ef81832120
|
@ -692,7 +692,8 @@ class DelugeGTK:
|
||||||
preferences_dialog.show(self, self.window)
|
preferences_dialog.show(self, self.window)
|
||||||
|
|
||||||
def show_preferences_dialog_clicked(self, arg=None):
|
def show_preferences_dialog_clicked(self, arg=None):
|
||||||
if self.config.get("lock_tray") == True:
|
if self.config.get("enable_system_tray") and \
|
||||||
|
self.config.get("lock_tray"):
|
||||||
self.unlock_tray("prefwinshow")
|
self.unlock_tray("prefwinshow")
|
||||||
else:
|
else:
|
||||||
self.show_preferences_dialog()
|
self.show_preferences_dialog()
|
||||||
|
|
Loading…
Reference in New Issue