Updating branch refs/heads/master
         to 315e54ec286da7a982dbd24f5f0b8f41c7e45e98 (commit)
       from 907c8ec767c2a2b77a83cd5c6f9bdaa80b8d0218 (commit)

commit 315e54ec286da7a982dbd24f5f0b8f41c7e45e98
Author: Harald Judt <h.j...@gmx.at>
Date:   Mon May 21 23:10:08 2012 +0200

    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 <lan...@xfce.org>

 panel-plugin/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to