From 1e5c74f855dca5c1d1a017a7abbce39768e9efef Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 6 Oct 2005 18:21:52 +0000 Subject: Several bug fixes under calendar. Use common shortcut for preview pane. 2005-10-06 Srinivasa Ragavan * calendar/: Several bug fixes under calendar. * ui/: Use common shortcut for preview pane. svn path=/trunk/; revision=30497 --- calendar/gui/calendar-config.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'calendar/gui/calendar-config.c') 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) -- cgit