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

Re: Icon Theme overrides



On Fri, 2003-09-26 at 16:26, Thomas Leonard wrote:
> On Fri, Sep 26, 2003 at 04:25:34PM +0200, Alexander Larsson wrote:
> > On Fri, 2003-09-26 at 15:17, Thomas Leonard wrote:
> > > I'm trying to add support for the icon theme spec to ROX-Filer at the
> > > moment. We're using it to get the MIME icons.
> > > 
> > > The question is, how do we let the user override icons? Before, the user
> > > could set a new icon for all files of a particular MIME type (by dragging
> > > an image to a dialog).
> > > 
> > > These icons have to override the ones set in the current theme (so we
> > > can't install to hicolor).
> > > 
> > > Should we create a Custom theme (used by every application), and have the
> > > theme selector change its Inherits field, or is there some other way to do
> > > this?
> > 
> > Gnome allows this (somewhat ugly) by having also an icon-name/pathname
> > setting in the (per-user and systemwide) mime data. 
> 
> So this is separate from the icon spec, and desktop-specific? We could do
> that quite easily (ie, just fallback to our previous system), but it would
> be nice to share if possible.

ATM its desktop-specific, but if we geta a shared mimetype system it
could be done there. The idea of generic user-customizations of the
icon-theme strikes me as probably bad.

> > Note also that the way gnome does mime icons by mapping the mime name to
> > an icon name and using the icon theme spec isn't a "standard". Thats
> > just the way I choose to do it in gnome. Thats why i used
> > gnome-mime-xxx.
> 
> Sure. I'm using Owen's suggestion of 'mime-media:subtype'. Perhaps we can
> get a few base MIME types into the default theme?

Last time I proposed any sort of common names for icons I was shot down
and flamed. Maybe we can restart that discussion now?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an immortal hunchbacked matador in a wheelchair. She's a cold-hearted 
thirtysomething socialite who hides her beauty behind a pair of thick-framed 
spectacles. They fight crime! 




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