From: Maros Zatko <[email protected]>

---
 virtManager/details.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/virtManager/details.py b/virtManager/details.py
index 00e011e..7988504 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1275,7 +1275,11 @@ class vmmDetails(vmmGObjectUI):
         finally:
             self.ignoreDetails = False
 
-    def switch_page(self, ignore1=None, ignore2=None, newpage=None):
+    def switch_page(self, notebook=None, ignore2=None, newpage=None):
+        for i in range(notebook.get_n_pages()):
+          w = notebook.get_nth_page(i)
+          w.set_visible(i == newpage)
+
         self.page_refresh(newpage)
 
         self.sync_details_console_view(newpage)
-- 
1.8.5.3

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to