From 34e268defd17766401a2829ccfd376f3c738bb7f Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Fri, 20 Jul 2007 23:15:36 +0000 Subject: [PATCH] Forced update of UI when main window is restored from tray or from minimized state. --- src/interface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/interface.py b/src/interface.py index 3f602a2dc..f50008a7e 100644 --- a/src/interface.py +++ b/src/interface.py @@ -412,12 +412,16 @@ class DelugeGTK: self.window.hide() else: self.window.present() + # Force UI update as we don't update it while minimized + self.update() else: if self.config.get("lock_tray") == True: self.unlock_tray("mainwinshow") else: self.load_window_geometry() self.window.show() + # Force UI update as we don't update it while in tray + self.update() def show_hide_window_toggled(self, widget): if widget.get_active() and not self.window.get_property("visible"):