aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook-config.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 658823e19f..11a537dcb6 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * gui/component/addressbook-config.c
+ (eabc_commit) : in case of new book
+ set the uid of the source as the relative
+ uri.
+
2005-01-19 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 7ffe5f50ee..d65a9beded 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -949,7 +949,7 @@ eabc_commit(EConfig *ec, GSList *items, void *data)
#endif
} else {
d(printf("committing new source\n"));
-
+ e_source_set_relative_uri (sdialog->source, e_source_peek_uid (sdialog->source));
e_source_group_add_source(sdialog->source_group, sdialog->source, -1);
e_source_list_sync(sdialog->source_list, NULL);
}