aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers/icalendar-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/importers/icalendar-importer.c')
-rw-r--r--calendar/importers/icalendar-importer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index 3260ed8fcc..b61da37862 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -202,9 +202,11 @@ get_uri_from_folder_path (ICalImporter *ici, const char *folderpath)
} else {
uri = g_strdup (corba_folder->physicalUri);
- if (!strcmp (corba_folder->type, "tasks"))
+ if (!strcmp (corba_folder->type, "tasks") ||
+ !strcmp (corba_folder->type, "tasks/public"))
ici->folder_contains_tasks = TRUE;
- else if (!strcmp (corba_folder->type, "calendar"))
+ else if (!strcmp (corba_folder->type, "calendar") ||
+ !strcmp (corba_folder->type, "calendar/public"))
ici->folder_contains_events = TRUE;
}