diff options
author | Havoc Pennington <hp@redhat.com> | 2004-12-22 05:30:35 (GMT) |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2004-12-22 05:30:35 (GMT) |
commit | 110ec8e1d24701cae441a5fe511611aaa478fd3b (patch) | |
tree | 315e12f8b6639b58d73c0382ce881c7a97ff2034 /backend/ev-document.h | |
parent | d97441740d457e1463083d561afdb719ca99e66b (diff) |
connect to "found" signal (expose_bin_window): draw find highlights
2004-12-22 Havoc Pennington <hp@redhat.com>
* shell/ev-view.c (ev_view_set_document): connect to "found" signal
(expose_bin_window): draw find highlights
* shell/ev-window.c (find_bar_search_changed_cb): implement
* pdf/xpdf/pdf-document.cc (pdf_document_begin_find)
(pdf_document_end_find): implement this interface
* backend/ev-document.c (ev_document_found): add this to emit
signal
Diffstat (limited to 'backend/ev-document.h')
-rw-r--r-- | backend/ev-document.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/backend/ev-document.h b/backend/ev-document.h index 8d58f0c..4cf4601 100644 --- a/backend/ev-document.h +++ b/backend/ev-document.h @@ -80,7 +80,9 @@ struct _EvDocumentIface /* Signals */ /* "found" emitted at least 1 time (possibly with n_results == 0) - * for any call to begin_find. + * for any call to begin_find; also emitted with NULL,0 when + * you end_find. Calling begin_find twice without calling end_find + * is considered OK. */ void (* found) (EvDocument *document, const EvFindResult *results, @@ -117,6 +119,12 @@ void ev_document_begin_find (EvDocument *document, gboolean case_sensitive); void ev_document_end_find (EvDocument *document); +void ev_document_found (EvDocument *document, + const EvFindResult *results, + int n_results, + double percent_complete); + + G_END_DECLS #endif |