From f7c19b8762496f2dfac68d809eaefd4ff0bf1562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Fri, 23 Jan 2015 14:19:51 +0000 Subject: [PATCH] Accepting request 282554 from home:cbosdonnat:branches:Virtualization - 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 --- activate-default-console.patch | 29 +++++++++++++++++++++++++++++ virt-manager.changes | 7 +++++++ virt-manager.spec | 2 ++ 3 files changed, 38 insertions(+) create mode 100644 activate-default-console.patch diff --git a/activate-default-console.patch b/activate-default-console.patch new file mode 100644 index 00000000..168c4d8d --- /dev/null +++ b/activate-default-console.patch @@ -0,0 +1,29 @@ +From a1d3602b017e1145e6da03b23c99a3508bad4482 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= +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 + diff --git a/virt-manager.changes b/virt-manager.changes index d0d17098..e696ab3a 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 23 14:08:34 UTC 2015 - cbosdonnat@suse.com + +- bsc#909602 - virt-manager doesn't show text console for container + when started from details page. + activate-default-console.patch. + ------------------------------------------------------------------- Fri Jan 16 09:40:12 MST 2015 - carnold@suse.com diff --git a/virt-manager.spec b/virt-manager.spec index 6845fcdf..1e64a56e 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -83,6 +83,7 @@ Patch158: virtinst-xenbus-disk-index-fix.patch Patch159: virtinst-refresh_before_fetch_pool.patch Patch160: virtinst-ignore-error-403-on-directories.patch Patch161: virt-manager-Gtk-30.patch +Patch162: activate-default-console.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -208,6 +209,7 @@ machine). %patch159 -p1 %patch160 -p1 %patch161 -p1 +%patch162 -p1 %build %if %{qemu_user}