mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 07:58:38 +00:00
Some interactivty tweaks.
This commit is contained in:
parent
10632476ce
commit
c86a17b42b
2 changed files with 8 additions and 0 deletions
|
@ -285,6 +285,12 @@ class Preferences:
|
||||||
# Update the configuration
|
# Update the configuration
|
||||||
self.core_config.update(config_to_set)
|
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):
|
def hide(self):
|
||||||
self.pref_dialog.hide()
|
self.pref_dialog.hide()
|
||||||
|
|
||||||
|
|
|
@ -287,6 +287,8 @@ class SystemTray:
|
||||||
self.config[ui_key].pop()
|
self.config[ui_key].pop()
|
||||||
# Re-build the menu
|
# Re-build the menu
|
||||||
self.build_tray_bwsetsubmenu()
|
self.build_tray_bwsetsubmenu()
|
||||||
|
# Update the UI
|
||||||
|
self.window.update()
|
||||||
|
|
||||||
def unlock_tray(self):
|
def unlock_tray(self):
|
||||||
log.debug("Tray locking needs implementation..!")
|
log.debug("Tray locking needs implementation..!")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue