aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-30 00:31:13 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-30 00:31:13 +0800
commita5882916c8763588713fdd23ece8261cee43c3ec (patch)
treeba32734321fe69f02b441d2fe61c97184be6d544 /calendar
parente4ff38dbf8339b073d4ee2ca8f9f91e002e7d112 (diff)
downloadgsoc2013-evolution-a5882916c8763588713fdd23ece8261cee43c3ec.tar.gz
gsoc2013-evolution-a5882916c8763588713fdd23ece8261cee43c3ec.tar.zst
gsoc2013-evolution-a5882916c8763588713fdd23ece8261cee43c3ec.zip
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 (create_calendar_contact_source): don't set the group to be read only until after the source is added. svn path=/trunk/; revision=24523
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;
}