diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/pcs/cal-backend-file.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 9d31e6a917..60cd4823a6 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2003-04-09 JP Rosevear <jpr@ximian.com> + + Fixes #40952 + + * pcs/cal-backend-file.c (cal_backend_file_open): check for file + method instead of is_local + 2003-04-08 JP Rosevear <jpr@ximian.com> Fixes #40894 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; } |