diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-08-17 02:34:20 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-08-17 02:34:20 +0800 |
commit | 7a821eebc4cf2f402afd0feb8fdbe10f37f79658 (patch) | |
tree | d298e097a73eae8b90641435dd02e48496e4a3ce /calendar/gui/calendar-config.c | |
parent | b28275657d0fc2345306ea21b2ac52c57fb79688 (diff) | |
download | gsoc2013-evolution-7a821eebc4cf2f402afd0feb8fdbe10f37f79658.tar.gz gsoc2013-evolution-7a821eebc4cf2f402afd0feb8fdbe10f37f79658.tar.zst gsoc2013-evolution-7a821eebc4cf2f402afd0feb8fdbe10f37f79658.zip |
Do not set the time popup range. We also want to be able to create
2001-08-16 Federico Mena Quintero <federico@ximian.com>
* gui/calendar-config.c (calendar_config_configure_e_date_edit):
Do not set the time popup range. We also want to be able to
create appointments that are not within nine-to-five! Think of
going to the movies! Fixes bug #7436.
* gui/dialogs/cal-prefs-dialog.glade: "am/pm" is now "AM/PM".
Fixes bug #7367.
svn path=/trunk/; revision=12109
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r-- | calendar/gui/calendar-config.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c index 9b6d005259..c1c3f89870 100644 --- a/calendar/gui/calendar-config.c +++ b/calendar/gui/calendar-config.c @@ -554,14 +554,13 @@ calendar_config_configure_e_calendar (ECalendar *cal) /* This sets all the common config settings for an EDateEdit widget. - These are the week start day, whether we show week numbers, whether we - use 24 hour format, and the hours of the working day to use in the time - popup. */ + These are the week start day, whether we show week numbers, and whether we + use 24 hour format. */ void calendar_config_configure_e_date_edit (EDateEdit *dedit) { gboolean dnav_show_week_no, use_24_hour; - gint week_start_day, start_hour, end_hour; + gint week_start_day; g_return_if_fail (E_IS_DATE_EDIT (dedit)); @@ -575,16 +574,9 @@ calendar_config_configure_e_date_edit (EDateEdit *dedit) use_24_hour = calendar_config_get_24_hour_format (); - start_hour = calendar_config_get_day_start_hour (); - end_hour = calendar_config_get_day_end_hour (); - /* Round up the end hour. */ - if (calendar_config_get_day_end_minute () != 0) - end_hour = end_hour + 1 % 24; - e_date_edit_set_week_start_day (dedit, week_start_day); e_date_edit_set_show_week_numbers (dedit, dnav_show_week_no); e_date_edit_set_use_24_hour_format (dedit, use_24_hour); - e_date_edit_set_time_popup_range (dedit, start_hour, end_hour); } |