mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-22 04:24:51 +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
|
||||
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…
Add table
Reference in a new issue