diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2011-12-01 16:06:09 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@gnome.org> | 2011-12-01 16:06:09 +0800 |
commit | ee38e42e6ffbaa39e500a547c352cd80f5957bd4 (patch) | |
tree | da1dde0942e9d594ef28a64eaf8f7422a3f4911e | |
parent | e749abc966ea945d1aa34e6b975d3f2612d3536e (diff) | |
download | gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar.gz gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar.bz2 gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar.lz gsoc2013-evolution-ee38e42e6ffbaa39e500a547c352cd80f5957bd4.tar.xz 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.
-rw-r--r-- | modules/addressbook/e-book-shell-backend.c | 2 |
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); |