aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2001-10-02 00:55:44 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2001-10-02 00:55:44 +0800
commitaef67f06125a23a6c17eeb29c994a94f6b6205a4 (patch)
treec7bbf990ee4c51503db95061cec43f231b3dd08c /calendar/gui
parentd74b078aeb365e099c2070ce2269c98ab6158f6f (diff)
downloadgsoc2013-evolution-aef67f06125a23a6c17eeb29c994a94f6b6205a4.tar.gz
gsoc2013-evolution-aef67f06125a23a6c17eeb29c994a94f6b6205a4.tar.zst
gsoc2013-evolution-aef67f06125a23a6c17eeb29c994a94f6b6205a4.zip
don't use gnome_vfs_uri_is_local on URIs created with
2001-10-01 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (gnome_calendar_open): don't use gnome_vfs_uri_is_local on URIs created with gnome_vfs_uri_new_private svn path=/trunk/; revision=13262
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gnome-cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index bed5b0e3e9..44bf54ec61 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1691,7 +1691,7 @@ gnome_calendar_open (GnomeCalendar *gcal, const char *str_uri)
g_free (tasks_uri);
}
else {
- if (gnome_vfs_uri_is_local (uri)) {
+ if (!g_strcasecmp (uri->method_string, "file")) {
tasks_uri = g_strdup_printf ("%s/local/Tasks/tasks.ics", evolution_dir);
success = cal_client_open_calendar (priv->task_pad_client, tasks_uri, FALSE);