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
26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
Subject: vmmConsolePages: toggle visibilities on page change
|
|
From: Maros Zatko mzatko@redhat.com Fri Feb 28 19:35:48 2014 +0100
|
|
Date: Fri Feb 28 14:29:48 2014 -0500:
|
|
Git: dfa23765b569721effba959f35e5217aff908fea
|
|
|
|
|
|
diff --git a/virtManager/console.py b/virtManager/console.py
|
|
index 122bf27..dec2657 100644
|
|
--- a/virtManager/console.py
|
|
+++ b/virtManager/console.py
|
|
@@ -1319,8 +1319,13 @@ class vmmConsolePages(vmmGObjectUI):
|
|
self.widget("details-menu-usb-redirection").set_sensitive(True)
|
|
return
|
|
|
|
- def page_changed(self, ignore1=None, ignore2=None, ignore3=None):
|
|
+ def page_changed(self, ignore1=None, ignore2=None, newpage=None):
|
|
pagenum = self.widget("console-pages").get_current_page()
|
|
+
|
|
+ for i in range(self.widget("console-pages").get_n_pages()):
|
|
+ w = self.widget("console-pages").get_nth_page(i)
|
|
+ w.set_visible(i == newpage)
|
|
+
|
|
if pagenum < CONSOLE_PAGE_OFFSET:
|
|
self.last_gfx_page = pagenum
|
|
self.set_allow_fullscreen()
|