aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-25 04:53:55 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-25 04:53:55 +0800
commit06d159e5505d2f6b339a752e75e16fa7d92e73ed (patch)
tree3805e2a64c1995fcf559a0627abb2566c8a6e9d5 /calendar
parentcbed5487d1a657067ac0e23db9dfa54da8444d74 (diff)
downloadgsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar
gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar.gz
gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar.bz2
gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar.lz
gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar.xz
gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar.zst
gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.zip
sync the source list after the source removal
2004-01-24 JP Rosevear <jpr@ximian.com> * gui/tasks-component.c (delete_task_list_cb): sync the source list after the source removal * gui/calendar-component.c (delete_calendar_cb): ditto Fixes #53271 svn path=/trunk/; revision=24411
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/calendar-component.c1
-rw-r--r--calendar/gui/tasks-component.c1
3 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 875ff3223a..fba9edb148 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,13 @@
2004-01-24 JP Rosevear <jpr@ximian.com>
+ * gui/tasks-component.c (delete_task_list_cb): sync the source
+ list after the source removal
+
+ * gui/calendar-component.c (delete_calendar_cb): ditto
+
+ Fixes #53271
+2004-01-24 JP Rosevear <jpr@ximian.com>
+
* gui/migration.c (setup_progress_dialog): display a progress
dialog
(dialog_close): destroy it
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 33ffe9a0d9..47d2711f48 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -316,6 +316,7 @@ delete_calendar_cb (GtkWidget *widget, CalendarComponent *comp)
selected_source);
e_source_group_remove_source (e_source_peek_group (selected_source), selected_source);
+ e_source_list_sync (priv->source_list, NULL);
}
}
}
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index d4de27f90c..9a40ab459b 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -364,6 +364,7 @@ delete_task_list_cb (GtkWidget *widget, TasksComponent *comp)
selected_source);
e_source_group_remove_source (e_source_peek_group (selected_source), selected_source);
+ e_source_list_sync (priv->source_list, NULL);
}
}
}