From 79d3756857257531993dc16b83a68e2ba4ed444b Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 7 Sep 2001 00:33:57 +0000 Subject: add -DEVOLUTION_IMAGESDIR. 2001-09-06 Chris Toshok * gui/component/Makefile.am (INCLUDES): add -DEVOLUTION_IMAGESDIR. * gui/widgets/e-addressbook-view.c (card_deleted_cb): remove status messages from here. (e_addressbook_view_delete_selection): same. * gui/widgets/e-addressbook-model.c (sequence_complete): emit a NULL status message along with the stop_state_changed. The null status message will clear the status bar for this view. * gui/component/addressbook.c (set_status_message): use the EvolutionActivityClient stuff. * backend/pas/pas-backend-ldap.c (view_destroy): remove status message for abandoning a search. (ldap_op_process_current): wrap status messages in _(). (ldap_op_process): same. (create_card_handler): same, and remove the notify_status for "" and add a notify_complete call after the card is added. (remove_card_handler): same. (modify_card_handler): same. (poll_ldap): wrap status messages with _(), and remove the "Search Complete" message. (ldap_search_handler): wrap status message. * backend/pas/pas-backend-file.c (pas_backend_file_search): use _() on status messages, and make sure the last notify_* called is notify_complete. svn path=/trunk/; revision=12663 --- addressbook/gui/widgets/e-addressbook-model.c | 1 + addressbook/gui/widgets/e-addressbook-view.c | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c index d4a71d498a..e43772abf8 100644 --- a/addressbook/gui/widgets/e-addressbook-model.c +++ b/addressbook/gui/widgets/e-addressbook-model.c @@ -224,6 +224,7 @@ sequence_complete (EBookView *book_view, EAddressbookModel *model) { model->search_in_progress = FALSE; + status_message (book_view, NULL, model); gtk_signal_emit (GTK_OBJECT (model), e_addressbook_model_signals [STOP_STATE_CHANGED]); } diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index bf07164486..50ae8d2d0e 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -796,8 +796,6 @@ table_drag_data_get (ETable *table, { EAddressbookView *view = user_data; - printf ("table_drag_data_get (row %d, col %d)\n", row, col); - if (!E_IS_ADDRESSBOOK_TABLE_ADAPTER(view->object)) return; @@ -1246,10 +1244,6 @@ e_addressbook_view_print(EAddressbookView *view) static void card_deleted_cb (EBook* book, EBookStatus status, gpointer user_data) { - EAddressbookView *view = user_data; - - emit_status_message (view, _("Done.")); - if (status != E_BOOK_STATUS_SUCCESS) { e_addressbook_error_dialog (_("Error removing card"), status); } @@ -1280,8 +1274,6 @@ e_addressbook_view_delete_selection(EAddressbookView *view) g_return_if_fail (model); - emit_status_message (view, _("Removing cards...")); - e_selection_model_foreach (model, do_remove, view); -- cgit v1.2.3