diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-10-07 02:21:52 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-10-07 02:21:52 +0800 |
commit | 1e5c74f855dca5c1d1a017a7abbce39768e9efef (patch) | |
tree | 160a0738b7a58ff4d6a64decd54d0fcaf685743c /calendar/gui/calendar-config.c | |
parent | 11f58b12100ae5177675ef31d16340b9e435e00a (diff) | |
download | gsoc2013-evolution-1e5c74f855dca5c1d1a017a7abbce39768e9efef.tar.gz gsoc2013-evolution-1e5c74f855dca5c1d1a017a7abbce39768e9efef.tar.zst gsoc2013-evolution-1e5c74f855dca5c1d1a017a7abbce39768e9efef.zip |
Several bug fixes under calendar. Use common shortcut for preview pane.
2005-10-06 Srinivasa Ragavan <sragavan@novell.com>
* calendar/: Several bug fixes under calendar.
* ui/: Use common shortcut for preview pane.
svn path=/trunk/; revision=30497
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r-- | calendar/gui/calendar-config.c | 16 |
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) |