[Pkg-libvirt-commits] [SCM] VirtManager Debian packaging branch, master, updated. debian/0.9.0-2-3-g94d561d
Laurent Léonard
laurent at open-minds.org
Sat Nov 19 18:17:52 UTC 2011
The following commit has been merged in the master branch:
commit 0b10320a88012d74d98f7e8a71cde158e0a2f064
Author: Laurent Léonard <laurent at open-minds.org>
Date: Sat Nov 19 18:51:02 2011 +0100
New patch 0003-virt-manager-Fix-Resize-to-VM-menu-option.patch
diff --git a/debian/patches/0003-virt-manager-Fix-Resize-to-VM-menu-option.patch b/debian/patches/0003-virt-manager-Fix-Resize-to-VM-menu-option.patch
new file mode 100644
index 0000000..fd3d99a
--- /dev/null
+++ b/debian/patches/0003-virt-manager-Fix-Resize-to-VM-menu-option.patch
@@ -0,0 +1,42 @@
+From: Marc Deslauriers <marc.deslauriers at canonical.com>
+Date: Fri, 19 Aug 2011 11:50:11 -0400
+Subject: virt-manager: Fix "Resize to VM" menu option
+
+Hello,
+
+This patch fixes the "Resize to VM" menu option by correcting inverted return
+values in autodrawer.py.
+
+Thanks,
+
+Marc.
+
+commit 8e666f4b87926c866ed35e58eb82213d2c514e89
+Author: Marc Deslauriers <marc.deslauriers at ubuntu.com>
+Date: Fri Aug 19 11:46:48 2011 -0400
+
+ Fix inverted width and height
+
+Origin: upstream, http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=a815fa17a7c643ddde8ea326399e2bee449dff98
+---
+ src/virtManager/autodrawer.py | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/virtManager/autodrawer.py b/src/virtManager/autodrawer.py
+index 56a9a80..b82b47b 100644
+--- a/src/virtManager/autodrawer.py
++++ b/src/virtManager/autodrawer.py
+@@ -256,10 +256,10 @@ class OverBox(parentclass):
+ self.underWin = None
+
+ def do_size_request(self, req):
+- height, width = self._size_request()
++ width, height = self._size_request()
+
+- req.height = height
+ req.width = width
++ req.height = height
+
+ def do_size_allocate(self, newalloc):
+ self.allocation = newalloc
+--
diff --git a/debian/patches/series b/debian/patches/series
index 16e90ac..a794bf6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-use-usr-share-gconf-for-schema-data.patch
0002-Use-IPy-from-python-ipy.patch
+0003-virt-manager-Fix-Resize-to-VM-menu-option.patch
--
VirtManager Debian packaging
More information about the Pkg-libvirt-commits
mailing list