aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-component.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-02-11 23:54:49 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-02-11 23:54:49 +0800
commitfbe8356d739ea0af4c4bdf01fe74f00711178ab0 (patch)
treeba8a32ecee5e4c9c67594d9de3dee9620c4f9ff4 /calendar/gui/tasks-component.c
parentd9e81eafb3031c4ed5cb53ab99764f4decc6b8f6 (diff)
downloadgsoc2013-evolution-fbe8356d739ea0af4c4bdf01fe74f00711178ab0.tar.gz
gsoc2013-evolution-fbe8356d739ea0af4c4bdf01fe74f00711178ab0.tar.zst
gsoc2013-evolution-fbe8356d739ea0af4c4bdf01fe74f00711178ab0.zip
Fixes #53271
2004-02-11 Rodrigo Moya <rodrigo@ximian.com> 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
Diffstat (limited to 'calendar/gui/tasks-component.c')
-rw-r--r--calendar/gui/tasks-component.c2
1 files changed, 2 insertions, 0 deletions
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);