summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2014-07-07 19:58:56 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2014-07-07 19:58:56 +0100
commit98e8418087bcb508b71371cf49ed81be7fd49b35 (patch)
tree8570f26244c7fe1aeb4059d9984f31fa96f2628f
parent176064b5206b38fcd0861c582ab50bf50f876400 (diff)
downloaddeluge-98e8418087bcb508b71371cf49ed81be7fd49b35.tar.gz
deluge-98e8418087bcb508b71371cf49ed81be7fd49b35.tar.bz2
deluge-98e8418087bcb508b71371cf49ed81be7fd49b35.zip
[GTKUI] Typo causing password dialog to show
-rw-r--r--deluge/ui/gtkui/mainwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/ui/gtkui/mainwindow.py b/deluge/ui/gtkui/mainwindow.py
index 8f61c09c2..cc5cbb7f3 100644
--- a/deluge/ui/gtkui/mainwindow.py
+++ b/deluge/ui/gtkui/mainwindow.py
@@ -147,7 +147,7 @@ class MainWindow(component.Component):
self.window.present()
self.load_window_state()
- if self.config["tray_password"] and not self.visible():
+ if self.config["lock_tray"] and not self.visible():
dialog = PasswordDialog("Enter your pasword to open Deluge.")
def on_dialog_response(response_id):
if response_id == gtk.RESPONSE_OK:
@@ -202,7 +202,7 @@ class MainWindow(component.Component):
d.addErrback(log_failure, "disconnect client")
d.addBoth(stop_reactor)
- if self.config["tray_password"] and not self.visible():
+ if self.config["lock_tray"] and not self.visible():
dialog = PasswordDialog("Enter your pasword to Quit Deluge...")
def on_dialog_response(response_id):
if response_id == gtk.RESPONSE_OK: