diff options
author | Chris Toshok <toshok@ximian.com> | 2001-09-07 08:33:57 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-09-07 08:33:57 +0800 |
commit | 79d3756857257531993dc16b83a68e2ba4ed444b (patch) | |
tree | fa028eb8fc0c582b00927fb660c438cdaa1c2926 /addressbook/backend/pas/pas-backend-file.c | |
parent | cc50420bf04f13fb7c3697bf524ed7772bfe6601 (diff) | |
download | gsoc2013-evolution-79d3756857257531993dc16b83a68e2ba4ed444b.tar.gz gsoc2013-evolution-79d3756857257531993dc16b83a68e2ba4ed444b.tar.zst gsoc2013-evolution-79d3756857257531993dc16b83a68e2ba4ed444b.zip |
add -DEVOLUTION_IMAGESDIR.
2001-09-06 Chris Toshok <toshok@ximian.com>
* 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
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.c')
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index c8d63104d4..f13f486d97 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -15,6 +15,9 @@ #include <time.h> #include <db.h> +#include <libgnome/gnome-defs.h> +#include <libgnome/gnome-i18n.h> + #include <e-util/e-db3-utils.h> #if DB_VERSION_MAJOR != 3 || \ @@ -251,9 +254,9 @@ pas_backend_file_search (PASBackendFile *bf, search_needed = FALSE; if (search_needed) - pas_book_view_notify_status_message (view->book_view, "Searching..."); + pas_book_view_notify_status_message (view->book_view, _("Searching...")); else - pas_book_view_notify_status_message (view->book_view, "Loading..."); + pas_book_view_notify_status_message (view->book_view, _("Loading...")); if (view->card_sexp) gtk_object_unref (GTK_OBJECT(view->card_sexp)); @@ -262,8 +265,8 @@ pas_backend_file_search (PASBackendFile *bf, if (!view->card_sexp) { /* need a different error message here. */ + pas_book_view_notify_status_message (view->book_view, _("Error in search expression.")); pas_book_view_notify_complete (view->book_view); - pas_book_view_notify_status_message (view->book_view, "Error in search expression."); return; } @@ -323,7 +326,6 @@ pas_backend_file_search (PASBackendFile *bf, pas_book_view_notify_add (view->book_view, cards); pas_book_view_notify_complete (view->book_view); - pas_book_view_notify_status_message (view->book_view, "Search complete"); /* ** It's fine to do this now since the data has been handed off. |