From c9f72e4ab116c93f3a66b2fb846e8502cbd69175 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 9 Apr 2003 13:43:57 +0000 Subject: Fixes #40952 2003-04-09 JP Rosevear Fixes #40952 * pcs/cal-backend-file.c (cal_backend_file_open): check for file method instead of is_local svn path=/trunk/; revision=20783 --- calendar/pcs/cal-backend-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/pcs') 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; } -- cgit v1.2.3