aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-04-09 21:43:57 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-04-09 21:43:57 +0800
commitc9f72e4ab116c93f3a66b2fb846e8502cbd69175 (patch)
tree03e910cf441b0cf2ec28c502fa2ef32b326f36bc
parentc298b9af9149993dd31b9cfe7c3ed70277f4f070 (diff)
downloadgsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.tar
gsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.tar.gz
gsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.tar.bz2
gsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.tar.lz
gsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.tar.xz
gsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.tar.zst
gsoc2013-evolution-c9f72e4ab116c93f3a66b2fb846e8502cbd69175.zip
Fixes #40952
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 svn path=/trunk/; revision=20783
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/pcs/cal-backend-file.c2
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;
}