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
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:09 +0800
commitc9049740c8a45a9f05b9ba3507de3e0c7d3c9606 (patch)
tree59720a204b5b33e06d1f9019f6b3bd51601a494d /calendar/gui/e-cal-list-view.c
parent46e7f2378d76e28408bc149e6c2b06159ee780fb (diff)
downloadgsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.tar
gsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.tar.gz
gsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.tar.bz2
gsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.tar.lz
gsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.tar.xz
gsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.tar.zst
gsoc2013-evolution-c9049740c8a45a9f05b9ba3507de3e0c7d3c9606.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;
}