aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/calendar-setup.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-27 03:56:55 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-27 03:56:55 +0800
commitca1452156e8e50ac1980319c9e30920cd06236a7 (patch)
tree45b134f360447ac507d339d2b368b06a53c8cca8 /calendar/gui/dialogs/calendar-setup.c
parentc703581b6fd658d184c0cc98a0879f3203299a22 (diff)
downloadgsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.tar
gsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.tar.gz
gsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.tar.bz2
gsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.tar.lz
gsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.tar.xz
gsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.tar.zst
gsoc2013-evolution-ca1452156e8e50ac1980319c9e30920cd06236a7.zip
Fixes #53338
2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53338 * gui/dialogs/calendar-setup.c (dialog_to_source): set the relative URI on the source for remote sources. 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #52312 * gui/dialogs/calendar-setup.c (create_new_source_with_group): * gui/migration.c (migrate_ical_folder, create_calendar_sources, create_task_sources): set the relative URI for local calendars and task lists to be the source UID. svn path=/trunk/; revision=24446
Diffstat (limited to 'calendar/gui/dialogs/calendar-setup.c')
-rw-r--r--calendar/gui/dialogs/calendar-setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c
index 149ff5c33f..fc82881b28 100644
--- a/calendar/gui/dialogs/calendar-setup.c
+++ b/calendar/gui/dialogs/calendar-setup.c
@@ -247,6 +247,7 @@ create_new_source_with_group (GtkWindow *parent,
} else {
/* Local source */
source = e_source_new (source_name, source_name);
+ e_source_set_relative_uri (source, e_source_peek_uid (source));
}
e_source_group_add_source (group, source, -1);
@@ -340,6 +341,8 @@ dialog_to_source (SourceDialog *source_dialog)
}
relative_uri = print_uri_noproto (uri);
+ e_source_set_relative_uri (source, relative_uri);
+ g_free (relative_uri);
e_uri_free (uri);
refresh_str = g_strdup_printf ("%d",