1
0
mirror of https://src.fedoraproject.org/rpms/virt-manager.git synced 2025-07-15 16:53:32 +00:00

Fix broken cs.po which crashed gettext

Fix offline attach fallback if hotplug fails
This commit is contained in:
Cole Robinson
2011-04-07 08:59:13 -04:00
parent 51359bda7f
commit c485b6cadb
3 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,18 @@
commit cb56316cf3702f03b05e30f406ff3028e45f7bfb
Author: Cole Robinson <crobinso@redhat.com>
Date: Tue Apr 5 16:21:42 2011 -0400
cs.po: Busted Plural-forms crashes python gettext
diff --git a/po/cs.po b/po/cs.po
index d1808a7..cc13a1b 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -16,7 +16,6 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: \n"
#: ../src/virt-manager.desktop.in.in.h:1
msgid "Manage virtual machines"

View File

@ -0,0 +1,20 @@
commit 4922222c2c7b13704b6f461aedbee9ec06c01b5b
Author: Cole Robinson <crobinso@redhat.com>
Date: Tue Apr 5 16:15:05 2011 -0400
addhw: Fix nonhotplug to running guest
diff --git a/src/virtManager/addhardware.py b/src/virtManager/addhardware.py
index 885c8b9..7fa5b6e 100644
--- a/src/virtManager/addhardware.py
+++ b/src/virtManager/addhardware.py
@@ -938,7 +938,8 @@ class vmmAddHardware(vmmGObjectUI):
"Would you like to make the device available after the "
"next VM shutdown?")),
dialog_type=gtk.MESSAGE_WARNING,
- buttons=gtk.BUTTONS_YES_NO)
+ buttons=gtk.BUTTONS_YES_NO,
+ async=False)
if not res:
return (False, None)

View File

@ -2,7 +2,7 @@
%define _package virt-manager
%define _version 0.8.7
%define _release 1
%define _release 2
%define virtinst_version 0.500.6
%define qemu_user "qemu"
@ -33,6 +33,10 @@ URL: http://virt-manager.org/
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
# Fix a couple configure options
Patch1: %{name}-fix-config-options.patch
# Fix broken cs.po which crashed gettext
Patch2: %{name}-fix-broken-cspo.patch
# Fix offline attach fallback if hotplug fails
Patch3: %{name}-fix-hotplug-fallback.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -98,6 +102,8 @@ management API.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%if %{qemu_user}
@ -206,6 +212,10 @@ fi
%{_datadir}/dbus-1/services/%{name}.service
%changelog
* Thu Apr 07 2011 Cole Robinson <crobinso@redhat.com> - 0.8.7-2.fc14
- Fix broken cs.po which crashed gettext
- Fix offline attach fallback if hotplug fails
* Thu Mar 31 2011 Cole Robinson <crobinso@redhat.com> - 0.8.7-1.fc14
- Rebased to version 0.8.7
- Allow renaming an offline VM