From 17d98c0038927e86ea4f4fcb4f4713ccb2528775 Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Fri, 21 Jan 2005 00:15:06 +0000 Subject: in case of new book set the uid of the source as the relative uri. 2005-01-21 Sivaiah Nallagatla * gui/component/addressbook-config.c (eabc_commit) : in case of new book set the uid of the source as the relative uri. svn path=/trunk/; revision=28470 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/component/addressbook-config.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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); } -- cgit v1.2.3