From ef818321208d70f730e4ff9aee70377227af34d2 Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Sat, 11 Aug 2007 01:24:51 +0000 Subject: [PATCH] Tweaks to tray code. --- src/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interface.py b/src/interface.py index 2c737a337..4d05455d0 100644 --- a/src/interface.py +++ b/src/interface.py @@ -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()