diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-08-12 22:33:56 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-08-12 22:33:56 +0800 |
commit | e5882036d054d772d1da989f185a354bd58d9a0e (patch) | |
tree | 68151f5d5122cfbbfad3d67f990f417da5c96dcf /calendar/gui/e-day-view.c | |
parent | f70abe264a1febd6a17405a67610133e180470bb (diff) | |
download | gsoc2013-evolution-e5882036d054d772d1da989f185a354bd58d9a0e.tar.gz gsoc2013-evolution-e5882036d054d772d1da989f185a354bd58d9a0e.tar.zst gsoc2013-evolution-e5882036d054d772d1da989f185a354bd58d9a0e.zip |
Fixes #312739
svn path=/trunk/; revision=30100
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index caaf1ae6a9..5a2b806119 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -3301,23 +3301,16 @@ e_day_view_on_event_double_click (EDayView *day_view, if (day == -1) event = &g_array_index (day_view->long_events, EDayViewEvent, - event_num); + event_num); else event = &g_array_index (day_view->events[day], EDayViewEvent, - event_num); + event_num); + + attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY); - if (day == day_view->editing_event_day - && event_num == day_view->editing_event_num - && icalcomponent_get_current_property (event->comp_data->icalcomp)) { - attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY) -; - e_calendar_view_edit_appointment (day_view, - event->comp_data->client, - event->comp_data->icalcomp, attendee_prop ? TRUE:FALSE); - } else - e_calendar_view_edit_appointment (day_view, - event->comp_data->client, - event->comp_data->icalcomp, FALSE); + e_calendar_view_edit_appointment (day_view, + event->comp_data->client, + event->comp_data->icalcomp, attendee_prop ? TRUE:FALSE); } static void |