aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r--calendar/gui/calendar-config.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c
index db57821c56..8a33f6084c 100644
--- a/calendar/gui/calendar-config.c
+++ b/calendar/gui/calendar-config.c
@@ -539,6 +539,22 @@ calendar_config_set_vpane_pos (gint vpane_pos)
gconf_client_set_int (config, CALENDAR_CONFIG_VPANE_POS, vpane_pos, NULL);
}
+gboolean
+calendar_config_get_preview_state (void)
+{
+ calendar_config_init ();
+
+ return gconf_client_get_bool (config, CALENDAR_CONFIG_TASK_PREVIEW, NULL);
+}
+
+
+void
+calendar_config_set_preview_state (gboolean state)
+{
+ calendar_config_init ();
+
+ gconf_client_set_bool (config, CALENDAR_CONFIG_TASK_PREVIEW, state, NULL);
+}
gint
calendar_config_get_month_hpane_pos (void)