- bsc#909602 - virt-manager doesn't show text console for container when started from details page. activate-default-console.patch. OBS-URL: https://build.opensuse.org/request/show/282554 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=218
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From a1d3602b017e1145e6da03b23c99a3508bad4482 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
|
|
Date: Fri, 23 Jan 2015 14:08:53 +0100
|
|
Subject: [PATCH] Activate the default console in all cases
|
|
|
|
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
|
|
|