[gnome-documents] search: add support for IANA-registered comicbook mime type



commit 5b03c5f3b0194262f62551e99b6389dbbc47035c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Oct 30 16:14:47 2016 -0700

    search: add support for IANA-registered comicbook mime type
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770904

 src/search.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/search.js b/src/search.js
index 6810020..fac784f 100644
--- a/src/search.js
+++ b/src/search.js
@@ -145,7 +145,7 @@ const SearchTypeManager = new Lang.Class({
                                         where: '?urn rdf:type nfo:EBook .' }));
           this.addItem(new SearchType({ id: SearchTypeStock.COMICS,
                                         name: _("Comics"),
-                                        filter: '(nie:mimeType(?urn) IN (\"application/x-cbr\", 
\"application/x-cbz\", \"application/x-cbt\", \"application/x-cb7\"))',
+                                        filter: '(nie:mimeType(?urn) IN (\"application/x-cbr\", 
\"application/x-cbz\", \"application/vnd.comicbook+zip\", \"application/x-cbt\", \"application/x-cb7\"))',
                                         where: '?urn rdf:type nfo:EBook .' }));
         } else {
             this.addItem(new SearchType({ id: SearchTypeStock.PRESENTATIONS,


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