[addressbook] Patch for Bug 326271
Devashish <[email protected]>
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Organization | Novell |
| Message-ID | <[email protected]> |
Hi, The attached patch solves the bug 326721 – Evolution can't show the new contacts added from menu. Thanks Devashish Sharma _______________________________________________ Evolution-patches mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-patches
diff.1
(text/x-patch, 880 B)
Index: addressbook/gui/component/addressbook-component.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook-component.c,v
retrieving revision 1.145
diff -u -p -r1.145 addressbook-component.c
--- addressbook/gui/component/addressbook-component.c 5 Feb 2006 23:46:25 -0000 1.145
+++ addressbook/gui/component/addressbook-component.c 13 Feb 2006 10:52:46 -0000
@@ -148,7 +148,9 @@ ensure_sources (AddressbookComponent *co
/* Create the default Person addressbook */
ESource *source = e_source_new (_("Personal"), PERSONAL_RELATIVE_URI);
e_source_group_add_source (on_this_computer, source, -1);
+ e_source_list_sync (source_list,NULL);
+ e_book_set_default_source(source, NULL);
e_source_set_property (source, "completion", "true");
personal_source = source;