[virt-tools-list] [virt-manager PATCH 1/2] console: set unavailable page while closing details window
Pavel Hrdina
phrdina at redhat.com
Wed Aug 17 16:38:02 UTC 2016
We need to set unavailable page in order to trigger _init_viewer() function.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1365367
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
virtManager/console.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/virtManager/console.py b/virtManager/console.py
index 1d33115..6e3d4eb 100644
--- a/virtManager/console.py
+++ b/virtManager/console.py
@@ -1016,6 +1016,8 @@ class vmmConsolePages(vmmGObjectUI):
return self._viewer.console_get_pixbuf()
def details_close_viewer(self):
+ self.widget("console-pages").set_current_page(
+ _CONSOLE_PAGE_UNAVAILABLE)
return self._close_viewer()
def details_activate_default_console_page(self):
--
2.9.3
More information about the virt-tools-list
mailing list