From eb4fecb99453dc64a4339c9589f33a56adeb20d8 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 27 Jan 2004 21:19:07 +0000 Subject: set the relative_uri of a local source to be its uid. 2004-01-27 Chris Toshok * gui/component/addressbook-config.c (dialog_to_source): set the relative_uri of a local source to be its uid. * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): remove the dest_group arg, since we don't use it. (migrate_contact_folder): set the relative uri of the source to be its uid. (PERSONAL_RELATIVE_URI): "Personal" -> "system". (create_groups): don't actually make the directory hierarchy for the personal folder here. let e-d-s do that. Also remove OnThisComputer from the base uri. (migrate_local_folders): track change to migrate_contact_folder_to_source. svn path=/trunk/; revision=24478 --- addressbook/gui/component/addressbook-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/component/addressbook-config.c') diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index e5ecdd8f28..2897308ab3 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -257,7 +257,7 @@ dialog_to_source (AddressbookSourceDialog *dialog, ESource *source, gboolean tem relative_uri = e_source_peek_relative_uri (source); if (!relative_uri || !strlen (relative_uri)) - e_source_set_relative_uri (source, e_source_peek_name (source)); + e_source_set_relative_uri (source, e_source_peek_uid (source)); } if (!temporary && !e_source_peek_group (source)) -- cgit