aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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/gui
parent4024f16221ca155638b58fd08a6c9a8116393ae9 (diff)
downloadgsoc2013-evolution-17d98c0038927e86ea4f4fcb4f4713ccb2528775.tar.gz
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/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c2
1 files changed, 1 insertions, 1 deletions
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);
}