aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2005-01-21 08:15:06 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-01-21 08:15:06 +0800
commit17d98c0038927e86ea4f4fcb4f4713ccb2528775 (patch)
treed600d91a28125e28c0833ca481b19d72ce132f53 /addressbook
parent4024f16221ca155638b58fd08a6c9a8116393ae9 (diff)
downloadgsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar
gsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar.gz
gsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar.bz2
gsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar.lz
gsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar.xz
gsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar.zst
gsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.zip
in case of new book set the uid of the source as the relative uri.
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. svn path=/trunk/; revision=28470
Diffstat (limited to 'addressbook')
-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);
}