From 06d159e5505d2f6b339a752e75e16fa7d92e73ed Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Sat, 24 Jan 2004 20:53:55 +0000 Subject: sync the source list after the source removal 2004-01-24 JP Rosevear * 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 --- calendar/gui/calendar-component.c | 1 + calendar/gui/tasks-component.c | 1 + 2 files changed, 2 insertions(+) (limited to 'calendar/gui') 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); } } } -- cgit v1.2.3