[virt-tools-list] [PATCH] Activate the default console in all cases

Cédric Bosdonnat cbosdonnat at suse.com
Fri Jan 23 13:11:53 UTC 2015


If the Details page of a container is show when hitting the Run button,
switching back to the Console page, doesn't show the text console. By
updating the default console even if the Console page isn't show we
won't have this anymore.
---
 virtManager/details.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/virtManager/details.py b/virtManager/details.py
index ddcacae..aa10912 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1345,8 +1345,6 @@ class vmmDetails(vmmGObjectUI):
 
     def activate_default_console_page(self):
         pages = self.widget("details-pages")
-        if pages.get_current_page() != DETAILS_PAGE_CONSOLE:
-            return
         self.console.activate_default_console_page()
 
     # activate_* are called from engine.py via CLI options
-- 
2.1.2




More information about the virt-tools-list mailing list