[Xfce4-commits] [panel-plugins/xfce4-timer-plugin] 10/22: Now start with progress_bar 100%
noreply at xfce.org
noreply at xfce.org
Sat Dec 30 06:16:31 CET 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-timer-plugin.
commit 1ae04d195ae046d0e167006b044984933394a61b
Author: Daniel Muñiz Fontoira <dani at damufo.com>
Date: Wed Dec 13 10:51:37 2017 +0100
Now start with progress_bar 100%
---
panel-plugin/xfcetimer.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/xfcetimer.c b/panel-plugin/xfcetimer.c
index e3110e9..5b76070 100644
--- a/panel-plugin/xfcetimer.c
+++ b/panel-plugin/xfcetimer.c
@@ -168,7 +168,7 @@ static gboolean update_function (gpointer data){
/* Disable tooltips, reset pbar */
gtk_widget_set_tooltip_text (GTK_WIDGET(pd->base), "");
- gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),0);
+ gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),1);
pd->timeout=0;
@@ -379,7 +379,7 @@ static void start_stop_selected (GtkWidget* menuitem, gpointer
/* Disable tooltips, reset pbar */
gtk_widget_set_tooltip_text (GTK_WIDGET(pd->base), "");
- gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),0);
+ gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),1);
return;
@@ -1809,7 +1809,7 @@ static void create_plugin_control (XfcePanelPlugin *plugin)
load_settings(pd);
pd->selected = pd->alarm_list;
- gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),0);
+ gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(pd->pbar),1);
add_pbar(pd->base,pd);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list