handle application tag when looking for icon, and add icons for books and book chapters (epub, chm, info)
This commit is contained in:
@@ -146,16 +146,16 @@ text/xml = exec rclxml
|
||||
## #############################################
|
||||
# Icons to be used in the result list if required by gui config
|
||||
[icons]
|
||||
application/epub+zip = document
|
||||
application/epub+zip = book
|
||||
application/msword = wordprocessing
|
||||
application/ogg = sownd
|
||||
application/pdf = pdf
|
||||
application/postscript = postscript
|
||||
application/vnd.ms-excel = spreadsheet
|
||||
application/vnd.ms-powerpoint = presentation
|
||||
application/vnd.oasis.opendocument.text = wordprocessing
|
||||
application/vnd.oasis.opendocument.presentation = presentation
|
||||
application/vnd.oasis.opendocument.spreadsheet = spreadsheet
|
||||
application/vnd.oasis.opendocument.text = wordprocessing
|
||||
application/vnd.openxmlformats-officedocument.presentationml.presentation = presentation
|
||||
application/vnd.openxmlformats-officedocument.presentationml.template = presentation
|
||||
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = spreadsheet
|
||||
@@ -175,12 +175,12 @@ application/vnd.sun.xml.writer.template = wordprocessing
|
||||
application/vnd.wordperfect = wordprocessing
|
||||
application/x-abiword = wordprocessing
|
||||
application/x-awk = source
|
||||
application/x-chm = document
|
||||
application/x-chm = book
|
||||
application/x-dia-diagram = drawing
|
||||
application/x-dvi = document
|
||||
application/x-flac = sownd
|
||||
application/x-fsdirectory = folder
|
||||
application/x-gnuinfo = document
|
||||
application/x-gnuinfo = book
|
||||
application/x-gnumeric = spreadsheet
|
||||
application/x-kword = wordprocessing
|
||||
application/x-lyx = wordprocessing
|
||||
@@ -211,6 +211,9 @@ image/x-xcf = image
|
||||
image/x-xpmi = image
|
||||
message/rfc822 = message
|
||||
text/html = html
|
||||
text/html|chm = bookchap
|
||||
text/html|epub = bookchap
|
||||
text/html|gnuinfo = bookchap
|
||||
text/plain = txt
|
||||
text/rtf = wordprocessing
|
||||
text/x-c = source
|
||||
|
||||
Reference in New Issue
Block a user