bug-gnuzilla
[Top][All Lists]
Advanced

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

Re: IceCat Mimetype patch


From: Giuseppe Scrivano
Subject: Re: IceCat Mimetype patch
Date: Mon, 10 May 2010 23:30:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Eric,


thanks for the patch but I am not sure it is good idea to change this
configuration.  I don't know if some distro is using a similar thing (do
you know any?) but as user I wouldn't like it, what if on my machine
shell scripts are configured to be executed by a shell?  Should it
happen accidentally with downloaded files too?

Please correct me if I am wrong.

Cheers,
Giuseppe



Eric Padman <address@hidden> writes:

> Hello,
>
> I've attached a patch to make IceCat to use xdg-open to open files in
> the Download window. An unintentional side effect is this seems to cause
> IceCat to use Gnome's notification system rather than it's own. If there
> is a better way to patch this problem I'd love to know.
>
> Thanks,
> Eric Padman
>
> --- browser/locales/generic/profile/mimeTypes.rdf.orig        2010-04-07 
> 11:37:32.000000000 +1200
> +++ browser/locales/generic/profile/mimeTypes.rdf     2010-04-07 
> 18:26:50.000000000 +1200
> @@ -7,7 +7,13 @@
>    <Description about="urn:mimetypes"> 
>      <NC:MIME-types> 
>        <Seq about="urn:mimetypes:root"> 
> +        <RDF:li RDF:resource="urn:scheme:file"/>
>        </Seq> 
> +      <RDF:Description RDF:about="urn:scheme:handler:file"
> +                       NC:alwaysAsk="false">
> +        <NC:externalApplication 
> RDF:resource="urn:scheme:externalApplication:file"/>
> +        <NC:possibleApplication 
> RDF:resource="urn:handler:local:/usr/bin/xdg-open"/>
> +      </RDF:Description>
>      </NC:MIME-types> 
>    </Description> 
>  </RDF>
> --
> http://gnuzilla.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]