9dab6bfcb9
530f80f5-handle-missing-storage-volumes.patch 5310bd89-console-fix-unsetting-resize-guest.patch 5310e3ac-set-show_arrow-to-true.patch 5310e3ac-vmmConsolePages-toggle-visibilities-on-page-change.patch 5310e3ac-vmmDetails-toggle-visibilities-on-page-change.patch 5310e52d-fix-setting-default-window-size.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=147
24 lines
900 B
Diff
24 lines
900 B
Diff
Subject: vmmDetails: toggle visibilities on page change
|
|
From: Maros Zatko mzatko@redhat.com Fri Feb 28 19:35:49 2014 +0100
|
|
Date: Fri Feb 28 14:29:48 2014 -0500:
|
|
Git: 74e6d439035a7826f9ed0a70b1c4f0b1141997cc
|
|
|
|
|
|
Index: virt-manager-1.0.0/virtManager/details.py
|
|
===================================================================
|
|
--- virt-manager-1.0.0.orig/virtManager/details.py
|
|
+++ virt-manager-1.0.0/virtManager/details.py
|
|
@@ -1269,7 +1269,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)
|