rsachetto/sir

Please add MIME types to sir.desktop.

Closed this issue · 2 comments

I was going to complain that sir_service.desktop shouldn't be installed to 
/usr/share/applications/ but I looked at the source and from the Makefile it 
seems it's only installed to /usr/share/kde4/services/ServiceMenus/
So this seems to be a bug in the Fedora package.

Anyway, you could add MIME types to sir.desktop. Like below:

[Desktop Entry]
Name=Sir
GenericName=Simple Image Resizer
Exec=sir
Comment=Qt4 Image Resizer
Icon=/usr/share/pixmaps/sir.png
Terminal=false
Type=Application
Categories=Graphics;
MimeType=image/jpeg;image/jpeg2000;image/png;image/bmp;image/gif;image/x-xpixmap
;image/x-portable-graymap;image/x-portable-bitmap;image/x-portable-pixmap;image/
tiff;image/x-xbitmap;image/svg+xml;image/x-tga;video/x-mng;image/x-portable-anym
ap;


MIME types are all in the same line (in case the post messes the formatting).
I added jpeg2000 just in case it's supported but if it isn't then you remove it 
from that line.

Thank you.

Original issue reported on code.google.com by secipolla@gmail.com on 30 Sep 2012 at 11:11

Also you could use

Icon=sir

this way if an icon theme has a 'sir' icon it will be used, otherwise 
/usr/share/pixmaps/sir.png is used.

Original comment by secipolla@gmail.com on 14 Oct 2012 at 9:58

Your patch will include in 2.5 release soon.

Thank you very much.

Original comment by jedryk...@gmail.com on 7 Nov 2012 at 1:15

  • Changed state: Done
  • Added labels: OpSys-Linux