mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
[GTKUI] Typo causing password dialog to show
This commit is contained in:
parent
176064b520
commit
98e8418087
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,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):
|
||||||
if response_id == gtk.RESPONSE_OK:
|
if response_id == gtk.RESPONSE_OK:
|
||||||
|
@ -202,7 +202,7 @@ class MainWindow(component.Component):
|
||||||
d.addErrback(log_failure, "disconnect client")
|
d.addErrback(log_failure, "disconnect client")
|
||||||
d.addBoth(stop_reactor)
|
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...")
|
dialog = PasswordDialog("Enter your pasword to Quit Deluge...")
|
||||||
def on_dialog_response(response_id):
|
def on_dialog_response(response_id):
|
||||||
if response_id == gtk.RESPONSE_OK:
|
if response_id == gtk.RESPONSE_OK:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue