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)