[evince] djvu: Implement EvDocumentFind::get_supported_options



commit 54728196fc320ee4ee4ce2f5c8e379bec28dcfaf
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Jun 10 13:22:31 2012 +0200

    djvu: Implement EvDocumentFind::get_supported_options
    
    To claim it supports case sensitive search.

 backend/djvu/djvu-document.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c
index 89925e4..a61d609 100644
--- a/backend/djvu/djvu-document.c
+++ b/backend/djvu/djvu-document.c
@@ -645,10 +645,17 @@ djvu_document_find_find_text (EvDocumentFind   *document,
 	return matches;
 }
 
+static EvFindOptions
+djvu_document_find_get_supported_options (EvDocumentFind *document)
+{
+	return EV_FIND_CASE_SENSITIVE;
+}
+
 static void
 djvu_document_find_iface_init (EvDocumentFindInterface *iface)
 {
         iface->find_text = djvu_document_find_find_text;
+	iface->get_supported_options = djvu_document_find_get_supported_options;
 }
 
 static EvMappingList *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]