From ee38e42e6ffbaa39e500a547c352cd80f5957bd4 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 1 Dec 2011 10:06:09 +0200 Subject: Upstreamed patch from Meego Bugzilla: 23097 When the esource is created, sync it to avoid loose it. --- modules/addressbook/e-book-shell-backend.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/addressbook/e-book-shell-backend.c') 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); -- cgit