diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2001-10-27 01:57:06 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2001-10-27 01:57:06 +0800 |
commit | dde7904757ae380bdee351334b46afd8c575b75b (patch) | |
tree | f3b89268eaa642834bbbe74c049c5a512d8d5f7e | |
parent | 7cf48456bdc58536a12dca81d902f15a63f44e4d (diff) | |
download | gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.tar gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.tar.gz gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.tar.bz2 gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.tar.lz gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.tar.xz gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.tar.zst gsoc2013-evolution-dde7904757ae380bdee351334b46afd8c575b75b.zip |
added status bar messages
2001-10-26 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-calendar_table.c (delete_selected_components):
(selection_received): added status bar messages
* gui/e-day-view.c (e_day_view_cut_clipboard):
(selection_received): likewise
* gui/e-week-view.c (e_week_view_cut_clipboard):
(selection_received): likewise
svn path=/trunk/; revision=14149
-rw-r--r-- | calendar/ChangeLog | 11 | ||||
-rw-r--r-- | calendar/gui/e-calendar-table.c | 10 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 7 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 7 |
4 files changed, 35 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 2914eebdb4..9ff40080f1 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,14 @@ +2001-10-26 Rodrigo Moya <rodrigo@ximian.com> + + * gui/e-calendar_table.c (delete_selected_components): + (selection_received): added status bar messages + + * gui/e-day-view.c (e_day_view_cut_clipboard): + (selection_received): likewise + + * gui/e-week-view.c (e_week_view_cut_clipboard): + (selection_received): likewise + 2001-10-26 JP Rosevear <jpr@ximian.com> * conduits/calendar/calendar-conduit.h: modify fields 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); } diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index a6bd101d46..26597071ed 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2721,9 +2721,13 @@ e_day_view_cut_clipboard (EDayView *day_view) if (event == NULL) return; + e_day_view_set_status_message (day_view, _("Deleting selected objects")); + e_day_view_copy_clipboard (day_view); cal_component_get_uid (event->comp, &uid); cal_client_remove_object (day_view->client, uid); + + e_day_view_set_status_message (day_view, NULL); } void @@ -6942,6 +6946,7 @@ selection_received (GtkWidget *invisible, return; } + e_day_view_set_status_message (day_view, _("Updating objects")); e_day_view_get_selected_time_range (day_view, &dtstart, &dtend); if (kind == ICAL_VCALENDAR_COMPONENT) { @@ -7012,6 +7017,8 @@ selection_received (GtkWidget *invisible, gtk_object_unref (GTK_OBJECT (comp)); } + + e_day_view_set_status_message (day_view, NULL); } diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 0af180da9a..70b1ebee5a 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1819,9 +1819,13 @@ e_week_view_cut_clipboard (EWeekView *week_view) if (event == NULL) return; + e_week_view_set_status_message (week_view, _("Deleting selected objects")); + e_week_view_copy_clipboard (week_view); cal_component_get_uid (event->comp, &uid); cal_client_remove_object (week_view->client, uid); + + e_week_view_set_status_message (week_view, NULL); } void @@ -3811,6 +3815,7 @@ selection_received (GtkWidget *invisible, return; } + e_week_view_set_status_message (week_view, _("Updating objects")); dtstart = week_view->day_starts[week_view->selection_start_day]; if (kind == ICAL_VCALENDAR_COMPONENT) { @@ -3880,6 +3885,8 @@ selection_received (GtkWidget *invisible, gtk_object_unref (GTK_OBJECT (comp)); } + + e_week_view_set_status_message (week_view, NULL); } |