aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/migration.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0cb2b1fa11..78dddf9224 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2004-01-29 JP Rosevear <jpr@ximian.com>
+ * gui/migration.c (create_calendar_contact_source): don't set the
+ group to be read only until after the source is added.
+
+2004-01-29 JP Rosevear <jpr@ximian.com>
+
* gui/migration.c (migrate_ical_folder_to_source): migrate to a
specific source
(migrate_ical_folder): create a new source based on the new source
diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c
index face2434e1..5977b726d6 100644
--- a/calendar/gui/migration.c
+++ b/calendar/gui/migration.c
@@ -360,13 +360,14 @@ create_calendar_contact_source (ESourceList *source_list)
/* Create the contacts group */
group = e_source_group_new (_("Contacts"), CONTACT_BASE_URI);
- e_source_group_set_readonly (group, TRUE);
e_source_list_add_group (source_list, group, -1);
-
+
source = e_source_new (_("Birthdays & Anniversaries"), "/");
e_source_group_add_source (group, source, -1);
g_object_unref (source);
+ e_source_group_set_readonly (group, TRUE);
+
return group;
}