[GTKUI] Typo causing password dialog to show

This commit is contained in:
Calum Lind 2014-07-07 19:58:56 +01:00
parent c05fa40756
commit 52db7df6d8
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ class MainWindow(component.Component):
self.window.present() self.window.present()
self.load_window_state() 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.") dialog = PasswordDialog("Enter your pasword to open Deluge.")
def on_dialog_response(response_id): def on_dialog_response(response_id):
@ -224,7 +224,7 @@ class MainWindow(component.Component):
else: else:
stop_gtk_reactor() stop_gtk_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...") dialog = PasswordDialog("Enter your pasword to Quit Deluge...")
def on_dialog_response(response_id): def on_dialog_response(response_id):