[Xfce4-commits] <xfce4-genmon-plugin:master> Increase the maximum period to 1 day

Florian Rivoal noreply at xfce.org
Sat Feb 26 11:06:01 CET 2011


Updating branch refs/heads/master
         to 79ffb6309af9232b226a7fda1be5903ce3701a80 (commit)
       from cd045f31db1d68d8a07a01920a038787bd923232 (commit)

commit 79ffb6309af9232b226a7fda1be5903ce3701a80
Author: Florian Rivoal <frivoal at xfce.org>
Date:   Sat Feb 26 19:03:33 2011 +0900

    Increase the maximum period to 1 day
    
    Fixes bug #4018.

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

diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index 1a4ba08..90162d0 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -141,7 +141,7 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
     gtk_widget_show (alignment1);
     gtk_container_add (GTK_CONTAINER (eventbox1), alignment1);
 
-    wSc_Period_adj = gtk_adjustment_new (15, 1, 3600, 1, 1, 10);
+    wSc_Period_adj = gtk_adjustment_new (15, 1, 60*60*24, 1, 1, 10);
     wSc_Period = gtk_spin_button_new (GTK_ADJUSTMENT (wSc_Period_adj), 1, 0);
     gtk_widget_show (wSc_Period);
     gtk_container_add (GTK_CONTAINER (alignment1), wSc_Period);



More information about the Xfce4-commits mailing list