From 85fb57b9d8ec476dc8e75d10ae5481f4270dd9f2 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Sat, 17 Apr 2010 17:15:26 -0500 Subject: Use a single /apps/evolution/calendar/display/show_week_numbers We have two preferences for showing week numbers in various places. We will combine these to be a single preference. This change replaces /apps/evolution/calendar/display/day_view_show_week_number with a general /apps/evolution/calendar/display/show_week_numbers. We'll deal with the other preference in subsequent commits. Signed-off-by: Federico Mena Quintero --- modules/calendar/e-cal-config-view.c | 2 +- modules/calendar/e-cal-shell-settings.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/calendar/e-cal-config-view.c b/modules/calendar/e-cal-config-view.c index 9783723a4e..e543bf6c56 100644 --- a/modules/calendar/e-cal-config-view.c +++ b/modules/calendar/e-cal-config-view.c @@ -43,7 +43,7 @@ cal_config_view_constructed (GObject *object) if (E_IS_DAY_VIEW (extensible)) { e_binding_new ( - shell_settings, "cal-day-view-show-week-numbers", + shell_settings, "cal-show-week-numbers", E_DAY_VIEW (extensible)->week_number_label, "visible"); e_binding_new ( diff --git a/modules/calendar/e-cal-shell-settings.c b/modules/calendar/e-cal-shell-settings.c index 3852de0a52..c2814dd3b1 100644 --- a/modules/calendar/e-cal-shell-settings.c +++ b/modules/calendar/e-cal-shell-settings.c @@ -491,8 +491,8 @@ e_cal_shell_backend_init_settings (EShell *shell) "/apps/evolution/calendar/prompts/confirm_purge"); e_shell_settings_install_property_for_key ( - "cal-day-view-show-week-numbers", - "/apps/evolution/calendar/display/day_view_show_week_number"); + "cal-show-week-numbers", + "/apps/evolution/calendar/display/show_week_numbers"); e_shell_settings_install_property_for_key ( "cal-free-busy-template", -- cgit v1.2.3