aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/cal-backend-file.c')
-rw-r--r--calendar/pcs/cal-backend-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/pcs/cal-backend-file.c b/calendar/pcs/cal-backend-file.c
index d11df6d076..11556cb8fa 100644
--- a/calendar/pcs/cal-backend-file.c
+++ b/calendar/pcs/cal-backend-file.c
@@ -755,7 +755,7 @@ cal_backend_file_open (CalBackend *backend, const char *uristr, gboolean only_if
if (!uri)
return CAL_BACKEND_OPEN_ERROR;
- if (!gnome_vfs_uri_is_local (uri)) {
+ if (!uri->method_string || strcmp (uri->method_string, "file")) {
gnome_vfs_uri_unref (uri);
return CAL_BACKEND_OPEN_ERROR;
}