[gnome-documents] books: Show DjVu files as being eBooks



commit b8eb768e2a2fdf008b7cf5e578fbf36113c9b9b0
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 2 18:16:33 2015 +0200

    books: Show DjVu files as being eBooks
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745327

 src/search.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/search.js b/src/search.js
index 811661f..4a672d0 100644
--- a/src/search.js
+++ b/src/search.js
@@ -218,7 +218,7 @@ const SearchTypeManager = new Lang.Class({
         if (Application.application.isBooks) {
           this.addItem(new SearchType({ id: SearchTypeStock.EBOOKS,
                                         name: _("e-Books"),
-                                        filter: '(nie:mimeType(?urn) IN (\"application/epub+zip\", 
\"application/x-mobipocket-ebook\", \"application/x-fictionbook+xml\", 
\"application/x-zip-compressed-fb2\"))',
+                                        filter: '(nie:mimeType(?urn) IN (\"application/epub+zip\", 
\"application/x-mobipocket-ebook\", \"application/x-fictionbook+xml\", \"application/x-zip-compressed-fb2\", 
\"image/vnd.djvu+multipage\"))',
                                         where: '?urn rdf:type nfo:EBook .' }));
           this.addItem(new SearchType({ id: SearchTypeStock.COMICS,
                                         name: _("Comics"),


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