diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-05-05 12:30:46 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-05-05 12:30:46 +0800 |
commit | e5ce5147f9b4e17bdef88987d714f52d7dab475a (patch) | |
tree | de1570fe3cce7e07ad5b8016e646262875f64db8 /calendar/gui/prop.c | |
parent | 4eafda3a143763df58f3375c8e8517efb305a2f9 (diff) | |
download | gsoc2013-evolution-e5ce5147f9b4e17bdef88987d714f52d7dab475a.tar.gz gsoc2013-evolution-e5ce5147f9b4e17bdef88987d714f52d7dab475a.tar.zst gsoc2013-evolution-e5ce5147f9b4e17bdef88987d714f52d7dab475a.zip |
Only run the apply code once.
1998-05-04 Miguel de Icaza <miguel@nuclecu.unam.mx>
* prop.c (prop_apply): Only run the apply code once.
svn path=/trunk/; revision=207
Diffstat (limited to 'calendar/gui/prop.c')
-rw-r--r-- | calendar/gui/prop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/prop.c b/calendar/gui/prop.c index 9021947a75..eab5d00be0 100644 --- a/calendar/gui/prop.c +++ b/calendar/gui/prop.c @@ -62,8 +62,11 @@ prop_cancel (void) } static void -prop_apply (void) +prop_apply (GtkWidget *w, int page) { + if (page != -1) + return; + day_begin = GTK_ADJUSTMENT (sa)->value; day_end = GTK_ADJUSTMENT (ea)->value; gnome_config_set_int ("/calendar/Calendar/Day start", day_begin); |