|
|
Thread Tools | Search this Thread |
06-01-2012, 05:25 AM | #1 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
Mimetypes icons should be plugin-based (for new input/output plugins, e.g.)
Hi there,
I have started to develop DOCX input plugin and done quite a lot (already enough for my own needs, tables and colors left). But DOCX icon is the "unknown" one, with a question mark. After digging around I've found out that all mimetypes are registered in FileIconProvider and I couldn't find any possibility to extend it with my own icon in the plugin init (e.g. via get_resources). I suppose it would be a nice feature to have an extension mechanizm and to have certain plugin type or just another "hackaround" how to add an icon to specific format without putting it into images/mimetyps directory. So is my statement correct or do I simply don't know how to do that via plugin? |
06-01-2012, 06:03 AM | #2 |
creator of calibre
Posts: 44,387
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cant do it with a plugin, nut just post your icon here and I'll add it to calibre for you.
|
Advert | |
|
06-01-2012, 06:46 AM | #3 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
mimetype/docx
Hi Kovid, thank you in advance.
|
06-01-2012, 07:42 AM | #4 |
creator of calibre
Posts: 44,387
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Added.
|
09-15-2012, 12:45 PM | #5 |
Member
Posts: 21
Karma: 10
Join Date: Mar 2008
Location: Yucca Valley, California
Device: Kindle Keyboard (K3)
|
Add an icon for azw3?
Kovid,
For my Kindle Keyboard, at least, the azw3 or KF8 format also appears as unknown. Can you add the mobi icon for it? Or, if there is another dedicated icon in existence, use that? I know, pretty nitpicky. |
Advert | |
|
09-15-2012, 01:15 PM | #6 |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@pmorris: AZW3 files will have a dedicated icon in Calibre's next release (along with Topaz & Kindlet files).
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I change Plugin Images/Icons? | Steppa | Plugins | 8 | 01-22-2013 06:37 PM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
CBZ plugin interaction with FB2/DjVu plugins - First try at pinpointing | MrWarper | iRex | 2 | 12-11-2011 05:46 AM |
Plugin which uses net as input and output | medve | Development | 0 | 12-04-2011 03:20 PM |
Icons for mimetypes | Halo | Development | 1 | 08-05-2011 03:23 AM |