aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/cal-prefs-dialog.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-04-18 06:15:26 +0800
committerFederico Mena Quintero <federico@novell.com>2010-04-18 07:01:00 +0800
commit85fb57b9d8ec476dc8e75d10ae5481f4270dd9f2 (patch)
tree87bce270c05880f67ac405d91448ed8b48b774c2 /calendar/gui/dialogs/cal-prefs-dialog.c
parent287cb76b70650be2d10ee437a6920f87f4cbff8a (diff)
downloadgsoc2013-evolution-85fb57b9d8ec476dc8e75d10ae5481f4270dd9f2.tar.gz
gsoc2013-evolution-85fb57b9d8ec476dc8e75d10ae5481f4270dd9f2.tar.zst
gsoc2013-evolution-85fb57b9d8ec476dc8e75d10ae5481f4270dd9f2.zip
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 <federico@novell.com>
Diffstat (limited to 'calendar/gui/dialogs/cal-prefs-dialog.c')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index ae50ab9543..839374b464 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -735,14 +735,14 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs,
shell_settings, "cal-compress-weekend",
widget, "active");
- widget = e_builder_get_widget (prefs->builder, "dnav_show_week_no");
+ widget = e_builder_get_widget (prefs->builder, "dnav_show_week_no"); /* FMQ: remove */
e_mutual_binding_new (
shell_settings, "cal-show-week-numbers",
widget, "active");
- widget = e_builder_get_widget (prefs->builder, "dview_show_week_no");
+ widget = e_builder_get_widget (prefs->builder, "dview_show_week_no"); /* FMQ: rename */
e_mutual_binding_new (
- shell_settings, "cal-day-view-show-week-numbers",
+ shell_settings, "cal-show-week-numbers",
widget, "active");
prefs->month_scroll_by_week = e_builder_get_widget (prefs->builder, "month_scroll_by_week");