Re: [Nautilus-list] [PATCH] handling icon for mime types



On 20 Apr 2002, Diego González wrote:

> On sáb, 2002-04-20 at 21:15, Alex Larsson wrote:
> > On 20 Apr 2002, Diego González wrote:
> > 
> > > hi
> > > 
> > > 	this this patch makes nautilus get the correct icon when an icon
> > > different from the standard has been selected for a mime type or when
> > > the applications that handle that type haven been changed from the mime
> > > types capplet. (hope it is clear enough).
> > > 
> > > 	as an example of what i'm meaning: 
> > > 
> > > 	a) from the mime types capplet select and application different from
> > > the default one to handle a certain type of mime type, 
> > > 	b) restart nautilus (so that the mime database is reloaded, this is
> > > another bug)
> > > 	c) know, you should see the default white icon for the mime type that
> > > you just modified, even thought you didn't change it specifically.
> > 
> > I don't really understand what you mean. Does the default application 
> > registered for a mimetype change the icon for files with that mimetype? I 
> > though icons were per-mimetype.
> 
> let me try to explain better: if you change the something (including the
> icon) for a mime type, the next time you restart nautilus you will not
> see the right icon for the mime type that you edited.
> 
> i hope this explanation is better

I tried to change the icon for application/x-font-bdf with the (gnome 1) 
mimetype capplet. But it didn't work, with or without your patch.

Can you explain a bit more what you think is going wrong, and why your 
patch fixes it?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a world-famous coffee-fuelled gangster with no name. She's an artistic 
mute bodyguard who dreams of becoming Elvis. They fight crime! 





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