aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2011-12-01 16:06:09 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2011-12-01 16:06:09 +0800
commitee38e42e6ffbaa39e500a547c352cd80f5957bd4 (patch)
treeda1dde0942e9d594ef28a64eaf8f7422a3f4911e /modules/addressbook
parente749abc966ea945d1aa34e6b975d3f2612d3536e (diff)
downloadgsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar.gz
gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar.zst
gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.zip
Upstreamed patch from Meego Bugzilla: 23097
When the esource is created, sync it to avoid loose it.
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-backend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-backend.c b/modules/addressbook/e-book-shell-backend.c
index ab21d689fa..8ea434d344 100644
--- a/modules/addressbook/e-book-shell-backend.c
+++ b/modules/addressbook/e-book-shell-backend.c
@@ -127,9 +127,11 @@ book_shell_backend_ensure_sources (EShellBackend *shell_backend)
e_source_group_add_source (on_this_computer, source, -1);
e_source_set_property (source, "completion", "true");
g_object_unref (source);
+ e_source_list_sync (priv->source_list, NULL);
} else {
/* Force the source name to the current locale. */
e_source_set_name (personal, name);
+ e_source_list_sync (priv->source_list, NULL);
}
g_object_unref (on_this_computer);