aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/prop.c')
-rw-r--r--calendar/prop.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/prop.c b/calendar/prop.c
index 9021947a75..eab5d00be0 100644
--- a/calendar/prop.c
+++ b/calendar/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);