mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 23:53:23 +00:00
Some interactivty tweaks.
This commit is contained in:
parent
10632476ce
commit
c86a17b42b
@ -285,6 +285,12 @@ class Preferences:
|
||||
# Update the configuration
|
||||
self.core_config.update(config_to_set)
|
||||
|
||||
# Re-show the dialog to make sure everything has been updated
|
||||
self.show()
|
||||
|
||||
# Update the UI
|
||||
self.window.update()
|
||||
|
||||
def hide(self):
|
||||
self.pref_dialog.hide()
|
||||
|
||||
|
@ -287,6 +287,8 @@ class SystemTray:
|
||||
self.config[ui_key].pop()
|
||||
# Re-build the menu
|
||||
self.build_tray_bwsetsubmenu()
|
||||
# Update the UI
|
||||
self.window.update()
|
||||
|
||||
def unlock_tray(self):
|
||||
log.debug("Tray locking needs implementation..!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user