From fbe8356d739ea0af4c4bdf01fe74f00711178ab0 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 11 Feb 2004 15:54:49 +0000 Subject: Fixes #53271 2004-02-11 Rodrigo Moya Fixes #53271 * gui/calendar-component.c (delete_calendar_cb): remove the source from the GnomeCalendar widget also. * gui/tasks-component.c (delete_task_list_cb): ditto. svn path=/trunk/; revision=24704 --- calendar/gui/tasks-component.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui/tasks-component.c') diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 294292e427..ec5d4c11f0 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -317,6 +317,8 @@ delete_task_list_cb (GtkWidget *widget, TasksComponent *comp) selected_source)) e_source_selector_unselect_source (E_SOURCE_SELECTOR (priv->source_selector), selected_source); + else + e_tasks_remove_todo_source (priv->tasks, selected_source); e_source_group_remove_source (e_source_peek_group (selected_source), selected_source); e_source_list_sync (priv->source_list, NULL); -- cgit