diff options
author | Damon Chaplin <damon@ximian.com> | 2001-10-30 20:59:28 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-10-30 20:59:28 +0800 |
commit | 6cc1ca709616dafc050dc29e10f26686ac3e4caa (patch) | |
tree | e593984309d8f2ff05b729fd0fc1fb789b473ee3 /calendar/gui/e-day-view.c | |
parent | 6d9d0b02aab0c899742a43002116bc0caf05324f (diff) | |
download | gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.tar gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.tar.gz gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.tar.bz2 gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.tar.lz gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.tar.xz gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.tar.zst gsoc2013-evolution-6cc1ca709616dafc050dc29e10f26686ac3e4caa.zip |
updated code to handle DATE values.
2001-10-30 Damon Chaplin <damon@ximian.com>
* gui/dialogs/schedule-page.c:
* gui/dialogs/event-page.c:
* gui/dialogs/comp-editor-util.c: updated code to handle DATE values.
* gui/gnome-cal.c (gnome_calendar_new_appointment_for):
* gui/e-day-view.c (e_day_view_key_press): updated DATE code.
* gui/e-cell-date-edit-text.c:
* gui/calendar-model.c: updated to support DATE values.
* cal-util/cal-recur.c (cal_recur_generate_instances_of_rule): updated
to use DATE values in same way as Outlook - i.e. the DTEND date is
not included entirely. Though I did make it so that if the DTSTART
and DTEND used the same DATE value, it includes the entire day.
So 1-day events should be the same. Long All-Day events will be
1 day shorter.
* cal-util/cal-component.c (cal_component_get_start_plus_duration):
don't subtract a day from the end date.
* gui/tasks-control.c: updated the EPixmap paths for Cut/Copy etc.
Removed Print & Print Preview paths, since we don't have menu commands
for these any more.
svn path=/trunk/; revision=14456
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index a0b7d09681..57547febb7 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -5126,8 +5126,6 @@ e_day_view_key_press (GtkWidget *widget, GdkEventKey *event) start_dt.tzid = NULL; start_tt.is_date = 1; end_tt.is_date = 1; - /* We have to take a day off the end time as it is a DATE. */ - icaltime_adjust (&end_tt, -1, 0, 0, 0); } else { start_dt.tzid = icaltimezone_get_tzid (day_view->zone); } |