This is an automated email from the git hooks/post-receive script.

timystery pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-mount-plugin.

commit 59b90bfa986d7493430a40cd606a9ac0d336de6f
Author: Fabian <timyst...@arcor.de>
Date:   Sat Sep 29 23:00:16 2018 +0200

    Display percentage on progress bar again (regression from port to Gtk3)
---
 panel-plugin/mount-plugin.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index 8792a04..c5133f0 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -264,6 +264,10 @@ disk_display_refresh (t_disk_display * disk_display)
             gtk_progress_bar_set_fraction (
                      GTK_PROGRESS_BAR(disk_display->progress_bar),
                      ((gdouble)mount_info->percent / 100) );
+            gtk_progress_bar_set_show_text (
+                     GTK_PROGRESS_BAR(disk_display->progress_bar),
+                     TRUE);
+
             gtk_progress_bar_set_text (
                      GTK_PROGRESS_BAR(disk_display->progress_bar),
                      g_strdup_printf ("%d%%",mount_info->percent));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to