diff options
author | Chris Toshok <toshok@ximian.com> | 2001-05-23 17:32:49 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-05-23 17:32:49 +0800 |
commit | de887cef10582792911a04ccc5d1a781280d4a9d (patch) | |
tree | 495f2975e82dfd14250618213b0d931ed24d56ea /addressbook/backend/pas/pas-backend-file.c | |
parent | be19c59c2e0f254538f72ba136d7524d8619045a (diff) | |
download | gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.tar gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.tar.gz gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.tar.bz2 gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.tar.lz gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.tar.xz gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.tar.zst gsoc2013-evolution-de887cef10582792911a04ccc5d1a781280d4a9d.zip |
fix strings such that ones that happening at the beginning or during an
2001-05-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (view_destroy): fix strings such
that ones that happening at the beginning or during an operation
are followed by "..." and those that stop the operation are
followed by "."
(create_card_handler): same.
(ldap_op_process_current): same, and also call _notify_complete if
we can't connect to ldap server.
(poll_ldap): same, and change "Polling for LDAP search result" to
"Receiving LDAP search results"
* backend/pas/pas-backend-file.c (pas_backend_file_search): call
notify_status_message at the beginning of this function, and
whenever we call _notify_complete.
svn path=/trunk/; revision=9941
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.c')
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index c4d1e0792f..d5bf2c6410 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -486,6 +486,8 @@ pas_backend_file_search (PASBackendFile *bf, if (!bf->priv->loaded) return; + pas_book_view_notify_status_message (view->book_view, "Searching..."); + if (view->search_sexp) e_sexp_unref(view->search_sexp); view->search_sexp = e_sexp_new(); @@ -506,7 +508,9 @@ pas_backend_file_search (PASBackendFile *bf, file_version_name_len = strlen (PAS_BACKEND_FILE_VERSION_NAME); if (esexp_error == -1) { + /* need a different error message here. */ pas_book_view_notify_complete (view->book_view); + pas_book_view_notify_status_message (view->book_view, "Error in search expression."); return; } @@ -553,6 +557,7 @@ 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. |