[Open Office] Wrong mimetype for rtf in textdoc.desktop

Petr Mladek pmladek at suse.cz
Tue Aug 23 10:26:21 EDT 2005


Hi Hanno,

thanks for the patch.

It is ugly. The mime application/rtf is used by GNOME. It is used in Shared 
Mime Info that is standardized at 
http://www.freedesktop.org/wiki/Software_2fshared_2dmime_2dinfo
The desktop file was primary made for GNOME, so it supported this mime. Well, 
text/rtf is used by KDE and maybe somewhere else. So, I added text/rtf mime 
to the desktop file and leave the application/rtf there as well. It should be 
available in the next release.


-- 
Best Regards,

Petr Mladek
software developer
---------------------------------------------------------------------  
SuSE CR, s.r.o.                             e-mail: pmladek at suse.cz
Drahobejlova 27                             tel:+420 296 542 373 
190 00 Praha 9                              fax:+420 296 542 374   
Czech Republic                              http://www.suse.cz/



On Friday 05 August 2005 13:07, Hanno Böck wrote:
> The textdoc.desktop-file generated by ooo-build (generated
> from /desktop/textdoc.desktop.in) contains a wrong mimetype for rtf-files.
> Instead of application/rtf, it should be text/rtf.
>
> diff -Naur ooo-build-1.9.118/desktop/textdoc.desktop.in
> ooo-build-1.9.118-fix/desktop/textdoc.desktop.in
> --- ooo-build-1.9.118/desktop/textdoc.desktop.in	2005-03-03
> 20:56:46.000000000 +0100
> +++ ooo-build-1.9.118-fix/desktop/textdoc.desktop.in	2005-08-05
> 13:06:23.324633632 +0200
> @@ -9,4 +9,4 @@
>  Type=Application
>  Categories=GNOME;Application;Office;X-Ximian-Main;
>  StartupNotify=true
> -MimeType=application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.glo
>bal;application/vnd.sun.xml.writer.template;application/vnd.ms-word;applicat
>ion/x-mswrite;application/vnd.stardivision.writer;application/vnd.wordperfec
>t;application/wordperfect;application/rtf;text/plain;application/vnd.oasis.o
>pendocument.text;vnd.oasis.opendocument.text-master;application/vnd.oasis.op
>endocument.text-template;
> +MimeType=application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.glo
>bal;application/vnd.sun.xml.writer.template;application/vnd.ms-word;applicat
>ion/x-mswrite;application/vnd.stardivision.writer;application/vnd.wordperfec
>t;application/wordperfect;text/rtf;text/plain;application/vnd.oasis.opendocu
>ment.text;vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocum
>ent.text-template;


More information about the Openoffice mailing list