aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/comp-editor-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index 3763bbdb87..79ec53c78a 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -451,8 +451,8 @@ open_client (CompEditorFactory *factory, const char *uristr)
priv = factory->priv;
- /* FIXME get the type here */
- client = auth_new_cal_from_uri (uristr, E_CAL_SOURCE_TYPE_LAST);
+ /* FIXME get the type here, breaks if its a task alarm */
+ client = auth_new_cal_from_uri (uristr, E_CAL_SOURCE_TYPE_EVENT);
if (!client)
return NULL;