diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-31 03:55:33 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-31 03:55:33 +0800 |
commit | 0c26a779918ea2188d2944f17e0213862acef21b (patch) | |
tree | 870dff3ca4b61b964afb5285b0b9d1d5d745fa81 /calendar/gui/dialogs/schedule-page.c | |
parent | b7443fb873ade1ac0f4bdd39b1c2d72fc545e52e (diff) | |
download | gsoc2013-evolution-0c26a779918ea2188d2944f17e0213862acef21b.tar.gz gsoc2013-evolution-0c26a779918ea2188d2944f17e0213862acef21b.tar.zst gsoc2013-evolution-0c26a779918ea2188d2944f17e0213862acef21b.zip |
move in whole day increments if we are in all day mode
2001-10-30 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_button_press): move in whole day
increments if we are in all day mode
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_on_start_time_changed): get rid of
localtime call
(e_meeting_time_selector_on_end_time_changed): ditto
(e_meeting_time_selector_update_start_date_edit): set the date
editor using the meeting time fields directly
(e_meeting_time_selector_update_end_date_edit): ditto
* gui/dialogs/schedule-page.c (update_time): do the set_show_time
stuff first
* conduits/calendar/calendar-conduit.c (process_multi_day): don't
adjust the time, set the default timezone for date values
svn path=/trunk/; revision=14475
Diffstat (limited to 'calendar/gui/dialogs/schedule-page.c')
-rw-r--r-- | calendar/gui/dialogs/schedule-page.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c index df7ca0c702..66614348df 100644 --- a/calendar/gui/dialogs/schedule-page.c +++ b/calendar/gui/dialogs/schedule-page.c @@ -276,6 +276,11 @@ update_time (SchedulePage *spage, CalComponentDateTime *start_date, CalComponent } } + e_date_edit_set_show_time (E_DATE_EDIT (priv->sel->start_date_edit), + !all_day); + e_date_edit_set_show_time (E_DATE_EDIT (priv->sel->end_date_edit), + !all_day); + e_date_edit_set_date (E_DATE_EDIT (priv->sel->start_date_edit), start_tt.year, start_tt.month, start_tt.day); e_date_edit_set_time_of_day (E_DATE_EDIT (priv->sel->start_date_edit), @@ -286,10 +291,6 @@ update_time (SchedulePage *spage, CalComponentDateTime *start_date, CalComponent e_date_edit_set_time_of_day (E_DATE_EDIT (priv->sel->end_date_edit), end_tt.hour, end_tt.minute); - e_date_edit_set_show_time (E_DATE_EDIT (priv->sel->start_date_edit), - !all_day); - e_date_edit_set_show_time (E_DATE_EDIT (priv->sel->end_date_edit), - !all_day); } |