aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-07 00:17:44 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-07 00:17:44 +0800
commit0efc5f6217100ce0b35404137629642346b2d51a (patch)
tree6a27c140e93fd2d8c1694deaf8c1b31111eef3fe /calendar/gui/e-day-view.c
parent750abd6bed42e55a26b972102132bca4e57473dd (diff)
downloadgsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.tar
gsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.tar.gz
gsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.tar.bz2
gsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.tar.lz
gsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.tar.xz
gsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.tar.zst
gsoc2013-evolution-0efc5f6217100ce0b35404137629642346b2d51a.zip
Bug #627536 - Open meeting as meeting, not as appointment, in week view
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index ea2b13c2f7..e50e1c2b61 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3538,7 +3538,6 @@ e_day_view_on_event_double_click (EDayView *day_view,
gint event_num)
{
EDayViewEvent *event;
- icalproperty *attendee_prop = NULL;
if (day == -1) {
if (!is_array_index_in_bounds (day_view->long_events, event_num))
@@ -3557,11 +3556,7 @@ e_day_view_on_event_double_click (EDayView *day_view,
if (!is_comp_data_valid (event))
return;
- attendee_prop = icalcomponent_get_first_property (event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY);
-
- e_calendar_view_edit_appointment ((ECalendarView *)day_view,
- event->comp_data->client,
- event->comp_data->icalcomp, attendee_prop ? TRUE:FALSE);
+ e_calendar_view_edit_appointment ((ECalendarView *)day_view, event->comp_data->client, event->comp_data->icalcomp, EDIT_EVENT_AUTODETECT);
}
static void