aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
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 /modules/addressbook
parent278241c9e21789b23d77adbd0cd8945c695c4a0b (diff)
downloadgsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.gz
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.tar.zst
gsoc2013-evolution-2a772badda42e30da739c944c29b80bcdbb58b1b.zip
Bug #629636 - Doesn't recognize local ESource-s
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/addressbook-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c
index b275590cf5..0c0bda4753 100644
--- a/modules/addressbook/addressbook-config.c
+++ b/modules/addressbook/addressbook-config.c
@@ -609,7 +609,7 @@ eabc_general_use_in_cal (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkW
if (group)
base_uri = e_source_group_peek_base_uri (group);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (use_in_cal_setting), (use_in_cal && g_str_equal (use_in_cal, "1")) || (!use_in_cal && base_uri && g_str_has_prefix (base_uri, "file://")));
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (use_in_cal_setting), (use_in_cal && g_str_equal (use_in_cal, "1")) || (!use_in_cal && base_uri && g_str_has_prefix (base_uri, "local:")));
g_signal_connect (use_in_cal_setting, "toggled", G_CALLBACK (use_in_cal_changed_cb), sdialog);
@@ -630,7 +630,7 @@ eabc_general_offline (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidg
const gchar *offline_sync;
gboolean is_local_book;
- is_local_book = g_str_has_prefix (e_source_group_peek_base_uri (sdialog->source_group), "file:");
+ is_local_book = g_str_has_prefix (e_source_group_peek_base_uri (sdialog->source_group), "local:");
offline_sync = e_source_get_property (sdialog->source, "offline_sync");
if (old)
return old;