[Pkg-libvirt-commits] [SCM] VirtManager Debian packaging branch, master, updated. debian/0.8.3-2-1-g1373ca0

Laurent Léonard laurent at open-minds.org
Tue Mar 2 14:17:24 UTC 2010


The following commit has been merged in the master branch:
commit 1373ca04a46d7cef0c1b95056cc72ff698f8b026
Author: Laurent Léonard <laurent at open-minds.org>
Date:   Tue Mar 2 15:14:22 2010 +0100

    Fix tapering issue for fully filled graph.
    
    Closes: #572065
    Thanks: Jan Ondrej

diff --git a/debian/patches/0004-Fix-tapering-issue-for-fully-filled-graph.patch b/debian/patches/0004-Fix-tapering-issue-for-fully-filled-graph.patch
new file mode 100644
index 0000000..151be85
--- /dev/null
+++ b/debian/patches/0004-Fix-tapering-issue-for-fully-filled-graph.patch
@@ -0,0 +1,26 @@
+From: Jan ONDREJ <ondrejj at salstar.sk>
+Date: Wed, 10 Feb 2010 12:43:12 -0500
+Subject: [PATCH] Fix tapering issue for fully filled graph.
+
+Closes: #572065
+Origin: upstream, http://hg.fedoraproject.org/hg/virt-manager/rev/ce8158e89bc1
+---
+ src/virtManager/graphwidgets.py |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/src/virtManager/graphwidgets.py b/src/virtManager/graphwidgets.py
+index 141477e..0dd4273 100644
+--- a/src/virtManager/graphwidgets.py
++++ b/src/virtManager/graphwidgets.py
+@@ -384,6 +384,10 @@ class Sparkline(gtk.DrawingArea):
+ 
+             draw_line(cairo_ct, cell_area, points)
+             if self.filled:
++                # XXX: Fixes a fully filled graph from having an oddly
++                #      tapered in end (bug 560913). Need to figure out
++                #      what's really going on.
++                points = [(0, cell_area.height)] + points
+                 draw_fill(cairo_ct, cell_area, points, taper=True)
+ 
+         # Stop clipping
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 49fefdd..0003424 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-use-usr-share-gconf-for-schema-data.patch
 0002-Make-sure-we-quit-afer-EOF-on-stdin.patch
 0003-Update-french-translation.patch
+0004-Fix-tapering-issue-for-fully-filled-graph.patch

-- 
VirtManager Debian packaging



More information about the Pkg-libvirt-commits mailing list