From 3b0699fc304d0f4aecb261d19869de221f5d6abf Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 7 Aug 2009 21:43:09 -0400 Subject: More refactoring of settings management. --- modules/calendar/e-cal-shell-settings.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'modules/calendar/e-cal-shell-settings.c') diff --git a/modules/calendar/e-cal-shell-settings.c b/modules/calendar/e-cal-shell-settings.c index dbb11ff0f9..4d75bae4e9 100644 --- a/modules/calendar/e-cal-shell-settings.c +++ b/modules/calendar/e-cal-shell-settings.c @@ -488,14 +488,14 @@ e_cal_shell_backend_init_settings (EShell *shell) "cal-confirm-purge", "/apps/evolution/calendar/prompts/confirm_purge"); - e_shell_settings_install_property_for_key ( - "cal-date-navigator-show-week-numbers", - "/apps/evolution/calendar/date_navigator/show_week_numbers"); - e_shell_settings_install_property_for_key ( "cal-day-view-show-week-numbers", "/apps/evolution/calendar/display/day_view_show_week_number"); + e_shell_settings_install_property_for_key ( + "cal-free-busy-template", + "/apps/evolution/calendar/publish/template"); + e_shell_settings_install_property_for_key ( "cal-hide-completed-tasks", "/apps/evolution/calendar/tasks/hide_completed"); @@ -528,6 +528,10 @@ e_cal_shell_backend_init_settings (EShell *shell) "cal-show-event-end-times", "/apps/evolution/calendar/display/show_event_end"); + e_shell_settings_install_property_for_key ( + "cal-show-week-numbers", + "/apps/evolution/calendar/date_navigator/show_week_numbers"); + e_shell_settings_install_property_for_key ( "cal-tasks-color-due-today", "/apps/evolution/calendar/tasks/colors/due_today"); @@ -597,7 +601,8 @@ e_cal_shell_backend_init_settings (EShell *shell) G_OBJECT (shell_settings), "cal-timezone", transform_string_to_icaltimezone, transform_icaltimezone_to_string, - (GDestroyNotify) NULL, shell_settings); + (GDestroyNotify) g_object_unref, + g_object_ref (shell_settings)); e_shell_settings_install_property ( g_param_spec_int ( @@ -722,5 +727,6 @@ e_cal_shell_backend_init_settings (EShell *shell) G_OBJECT (shell_settings), "cal-working-days-saturday", transform_working_days_bitset_to_saturday, transform_working_days_saturday_to_bitset, - (GDestroyNotify) NULL, shell_settings); + (GDestroyNotify) g_object_unref, + g_object_ref (shell_settings)); } -- cgit v1.2.3