aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c1
-rw-r--r--calendar/gui/tasks-component.c1
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);
}
}
}