aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/prop.c')
-rw-r--r--calendar/gui/prop.c5
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);