Updating branch refs/heads/master
to 1ef3ace88767345b94b3155e36d067a364c31ed9 (commit)
from 9820ef6f0d961675f8f64f49189270c7e8ce16ce (commit)
commit 1ef3ace88767345b94b3155e36d067a364c31ed9
Author: Landry Breuil <[email protected]>
Date: Thu Apr 12 14:52:16 2012 +0200
format the percentage in progressbar with %
panel-plugin/mount-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index 81c3e8a..261f0b9 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -222,7 +222,7 @@ disk_display_refresh (t_disk_display * disk_display)
((gdouble)mount_info->percent / 100) );
gtk_progress_bar_set_text (
GTK_PROGRESS_BAR(disk_display->progress_bar),
- g_strdup_printf ("%d",mount_info->percent));
+ g_strdup_printf ("%d%%",mount_info->percent));
gtk_widget_show (GTK_WIDGET(disk_display->progress_bar));
}
else /* mount_info == NULL */
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits