diff options
author | JP Rosevear <jpr@ximian.com> | 2004-01-25 04:53:55 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-01-25 04:53:55 +0800 |
commit | 06d159e5505d2f6b339a752e75e16fa7d92e73ed (patch) | |
tree | 3805e2a64c1995fcf559a0627abb2566c8a6e9d5 /calendar/gui | |
parent | cbed5487d1a657067ac0e23db9dfa54da8444d74 (diff) | |
download | gsoc2013-evolution-06d159e5505d2f6b339a752e75e16fa7d92e73ed.tar.gz 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/gui')
-rw-r--r-- | calendar/gui/calendar-component.c | 1 | ||||
-rw-r--r-- | calendar/gui/tasks-component.c | 1 |
2 files changed, 2 insertions, 0 deletions
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); } } } |