[Pkg-xfce-commits] r7050 - in goodies/trunk/xfce4-diskperf-plugin/debian: . patches

Yves-Alexis Perez corsac at alioth.debian.org
Sat Jun 2 06:32:41 UTC 2012


Author: corsac
Date: 2012-06-02 06:32:40 +0000 (Sat, 02 Jun 2012)
New Revision: 7050

Added:
   goodies/trunk/xfce4-diskperf-plugin/debian/patches/0001-Use-double-values-for-progress-bars-bug-8882.patch
   goodies/trunk/xfce4-diskperf-plugin/debian/patches/series
Modified:
   goodies/trunk/xfce4-diskperf-plugin/debian/changelog
Log:
* debian/patches:
  - 0001-Use-double-values-for-progress-bars-bug-8882 added, backported from
    upstream. Fix values less than max not appearing.         closes: #675442

Modified: goodies/trunk/xfce4-diskperf-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfce4-diskperf-plugin/debian/changelog	2012-05-28 18:21:14 UTC (rev 7049)
+++ goodies/trunk/xfce4-diskperf-plugin/debian/changelog	2012-06-02 06:32:40 UTC (rev 7050)
@@ -1,3 +1,11 @@
+xfce4-diskperf-plugin (2.5.3-2) unstable; urgency=low
+
+  * debian/patches:
+    - 0001-Use-double-values-for-progress-bars-bug-8882 added, backported from
+      upstream. Fix values less than max not appearing.         closes: #675442
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Fri, 01 Jun 2012 13:34:34 +0200
+
 xfce4-diskperf-plugin (2.5.3-1) unstable; urgency=low
 
   * New upstream release.

Added: goodies/trunk/xfce4-diskperf-plugin/debian/patches/0001-Use-double-values-for-progress-bars-bug-8882.patch
===================================================================
--- goodies/trunk/xfce4-diskperf-plugin/debian/patches/0001-Use-double-values-for-progress-bars-bug-8882.patch	                        (rev 0)
+++ goodies/trunk/xfce4-diskperf-plugin/debian/patches/0001-Use-double-values-for-progress-bars-bug-8882.patch	2012-06-02 06:32:40 UTC (rev 7050)
@@ -0,0 +1,30 @@
+From 315e54ec286da7a982dbd24f5f0b8f41c7e45e98 Mon Sep 17 00:00:00 2001
+From: Harald Judt <h.judt at gmx.at>
+Date: Mon, 21 May 2012 23:10:08 +0200
+Subject: [PATCH] Use double values for progress bars (bug #8882).
+
+Otherwise the progress bars don't show anything unless we're over 100%
+(100% busy, or exceeding the configured transfer rate). Thanks to
+Peter Tribble for spotting this.
+
+Signed-off-by: Landry Breuil <landry at xfce.org>
+---
+ panel-plugin/main.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/panel-plugin/main.c b/panel-plugin/main.c
+index 450b471..6a2d154 100644
+--- a/panel-plugin/main.c
++++ b/panel-plugin/main.c
+@@ -143,7 +143,7 @@ typedef struct diskperf_t {
+ 
+ static int timerNeedsUpdate = 0;
+ 
+-static void UpdateProgressBars(struct diskperf_t *p_poPlugin, uint64_t rw, uint64_t r, uint64_t w) {
++static void UpdateProgressBars(struct diskperf_t *p_poPlugin, double rw, double r, double w) {
+  /* Update combined or separate progress bars with actual data */
+     struct monitor_t *poMonitor = &(p_poPlugin->oMonitor);
+     struct param_t *poConf = &(p_poPlugin->oConf.oParam);
+-- 
+1.7.10
+

Added: goodies/trunk/xfce4-diskperf-plugin/debian/patches/series
===================================================================
--- goodies/trunk/xfce4-diskperf-plugin/debian/patches/series	                        (rev 0)
+++ goodies/trunk/xfce4-diskperf-plugin/debian/patches/series	2012-06-02 06:32:40 UTC (rev 7050)
@@ -0,0 +1 @@
+0001-Use-double-values-for-progress-bars-bug-8882.patch




More information about the Pkg-xfce-commits mailing list