mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 22:06:27 +00:00
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)
|
||||
|
||||
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")
|
||||
else:
|
||||
self.show_preferences_dialog()
|
||||
|
Loading…
x
Reference in New Issue
Block a user