diff options
author | Federico Mena Quintero <federico@novell.com> | 2010-04-27 07:13:24 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@novell.com> | 2010-04-27 07:13:24 +0800 |
commit | 0b07840e26f7c793939ec8226695ffca19aa1bfb (patch) | |
tree | a16ca35139a60b25f642e3f8c68580dee227ec03 /calendar/gui/dialogs | |
parent | 7ef34bfaae3e776101ff086bfb18494869e39e55 (diff) | |
download | gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.gz gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.tar.zst gsoc2013-evolution-0b07840e26f7c793939ec8226695ffca19aa1bfb.zip |
Don't use gconf to store the names of widgets to hide
That was just for development. Now we hardcode the lists of widgets.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index e778b6cbcd..21675b4a0d 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -778,7 +778,16 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs, e_datetime_format_add_setup_widget (table, 1, "calendar", "table", DTFormatKindDate, _("Date only:")); /* Hide senseless preferences when running in Express mode */ - e_shell_hide_widgets_for_express_mode (shell, prefs->builder, "/apps/evolution/calendar/express_preferences_hidden"); + e_shell_hide_widgets_for_express_mode (shell, prefs->builder, + "label_second_zone", + "hbox_second_zone", + "timezone", + "timezone_label", + "hbox_use_system_timezone", + "hbox_time_divisions", + "show_end_times", + "month_scroll_by_week", + NULL); /* HACK: GTK+ 2.18 and 2.20 has a GtkTable which includes row/column spacing even for empty rows/columns. * When Evo runs in Express mode, we hide all the rows in the Time section of the calendar's General |