aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 46516db8a8..80a8e817c1 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -720,6 +720,9 @@ delete_selected_components (ECalendarTable *cal_table)
client = calendar_model_get_cal_client (cal_table->model);
+ calendar_model_set_status_message (e_calendar_table_get_model (cal_table),
+ _("Deleting selected objects"));
+
for (l = uids; l; l = l->next) {
const char *uid;
@@ -731,6 +734,8 @@ delete_selected_components (ECalendarTable *cal_table)
cal_client_remove_object (client, uid);
}
+ calendar_model_set_status_message (e_calendar_table_get_model (cal_table), NULL);
+
g_slist_free (uids);
}
@@ -1135,6 +1140,9 @@ selection_received (GtkWidget *invisible,
return;
}
+ calendar_model_set_status_message (e_calendar_table_get_model (cal_table),
+ _("Updating objects"));
+
if (kind == ICAL_VCALENDAR_COMPONENT) {
icalcomponent_kind child_kind;
icalcomponent *subcomp;
@@ -1178,6 +1186,8 @@ selection_received (GtkWidget *invisible,
comp);
gtk_object_unref (GTK_OBJECT (comp));
}
+
+ calendar_model_set_status_message (e_calendar_table_get_model (cal_table), NULL);
}