aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-list-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-cal-list-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-cal-list-view.c')
-rw-r--r--calendar/gui/e-cal-list-view.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c
index d2baa3573d..fc2996fcd2 100644
--- a/calendar/gui/e-cal-list-view.c
+++ b/calendar/gui/e-cal-list-view.c
@@ -372,16 +372,6 @@ e_cal_list_view_popup_menu (GtkWidget *widget)
}
static gboolean
-find_meeting (icalcomponent *icalcomp)
-{
- icalproperty *prop = NULL;
-
- prop = icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY);
-
- return prop ? TRUE: FALSE;
-}
-
-static gboolean
e_cal_list_view_on_table_double_click (GtkWidget *table, gint row, gint col, GdkEvent *event,
gpointer data)
{
@@ -389,8 +379,7 @@ e_cal_list_view_on_table_double_click (GtkWidget *table, gint row, gint col, Gdk
ECalModelComponent *comp_data;
comp_data = e_cal_model_get_component_at (e_calendar_view_get_model (E_CALENDAR_VIEW (cal_list_view)), row);
- e_calendar_view_edit_appointment (E_CALENDAR_VIEW (cal_list_view), comp_data->client,
- comp_data->icalcomp, find_meeting (comp_data->icalcomp));
+ e_calendar_view_edit_appointment (E_CALENDAR_VIEW (cal_list_view), comp_data->client, comp_data->icalcomp, EDIT_EVENT_AUTODETECT);
return TRUE;
}