From 6cc1ca709616dafc050dc29e10f26686ac3e4caa Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 30 Oct 2001 12:59:28 +0000 Subject: updated code to handle DATE values. 2001-10-30 Damon Chaplin * 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 --- calendar/gui/tasks-control.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'calendar/gui/tasks-control.c') diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c index fa427e20ef..57d3623090 100644 --- a/calendar/gui/tasks-control.c +++ b/calendar/gui/tasks-control.c @@ -245,12 +245,10 @@ static BonoboUIVerb verbs [] = { static EPixmap pixmaps [] = { E_PIXMAP ("/menu/File/New/NewFirstItem/NewTask", "new_task-16.png"), - E_PIXMAP ("/menu/Edit/TasksCut", "16_cut.png"), - E_PIXMAP ("/menu/Edit/TasksCopy", "16_copy.png"), - E_PIXMAP ("/menu/Edit/TasksPaste", "16_paste.png"), - E_PIXMAP ("/menu/Edit/TasksDelete", "evolution-trash-mini.png"), - E_PIXMAP ("/menu/File/Print/Print", "print.xpm"), - E_PIXMAP ("/menu/File/Print/Print Preview", "print-preview.xpm"), + E_PIXMAP ("/menu/EditPlaceholder/Edit/TasksCut", "16_cut.png"), + E_PIXMAP ("/menu/EditPlaceholder/Edit/TasksCopy", "16_copy.png"), + E_PIXMAP ("/menu/EditPlaceholder/Edit/TasksPaste", "16_paste.png"), + E_PIXMAP ("/menu/EditPlaceholder/Edit/TasksDelete", "evolution-trash-mini.png"), E_PIXMAP ("/menu/Tools/ComponentPlaceholder/TasksSettings", "configure_16_calendar.xpm"), E_PIXMAP ("/Toolbar/New", "buttons/new_task.png"), E_PIXMAP ("/Toolbar/Cut", "buttons/cut.png"), -- cgit v1.2.3