aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-29 16:43:04 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-29 16:43:04 +0800
commit2a772badda42e30da739c944c29b80bcdbb58b1b (patch)
treec33783cc0baf51ae4a8376067ad410bad4831553 /calendar
parent278241c9e21789b23d77adbd0cd8945c695c4a0b (diff)
downloadgsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.gz
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.bz2
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.lz
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.xz
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.zst
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.zip
Bug #629636 - Doesn't recognize local ESource-s
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/calendar-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index b21c027fe1..5df14cf368 100644
--- a/calendar/gui/dialogs/calendar-setup.c
+++ b/calendar/gui/dialogs/calendar-setup.c
@@ -259,7 +259,7 @@ eccp_general_offline (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidg
const gchar *offline_sync;
guint row;
const gchar *base_uri = e_source_group_peek_base_uri (sdialog->source_group);
- gboolean is_local = base_uri && (g_str_has_prefix (base_uri, "file://") || g_str_has_prefix (base_uri, "contacts://"));
+ gboolean is_local = base_uri && (g_str_has_prefix (base_uri, "local:") || g_str_has_prefix (base_uri, "contacts://"));
offline_sync = e_source_get_property (sdialog->source, "offline_sync");
if (old)
return old;