[evolution] Upstreamed patch from Meego Bugzilla: 23097
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Upstreamed patch from Meego Bugzilla: 23097
- Date: Thu, 1 Dec 2011 11:29:36 +0000 (UTC)
commit ee38e42e6ffbaa39e500a547c352cd80f5957bd4
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Thu Dec 1 10:06:09 2011 +0200
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 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 ab21d68..8ea434d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]