unifying icon themes

Jasper Huijsmans jasper at xfce.org
Sun Mar 28 21:00:01 CEST 2004


Op zo 28-03-2004, om 14:21 schreef Brian J. Tarricone:
> hi all-
> 
> i want to move the icon theme setting out of the panel prefs and into 
> the UI prefs.  i also want it to look for icon themes in 
> /usr/share/icons (or, rather, $XDG_DATA_DIRS/icons or whatever it is).
> 

Exactly what I've been thinking for a long time. 

> there are a couple problems with this.  the main one is that if there's 
> a theme in /usr/share/icons (let's call it Foobar), that doesn't exist 
> in /usr/share/xfce4/themes, and the user selects icon theme Foobar, then 
> the panel is without themed icons.  we can make a symlink in 
> /usr/share/xfce4/themes, from Curve (the default theme) to 'hicolor' 
> (the default/fallback theme according to the icon spec), and that will 
> at least give the panel some icons to display.  the problem is that if 

This is the way it should work. Would it be possible to install our
icons into the default locations or would that cause conflicts with icon
theme packages?

> someone wants to use Foobar as their main icon theme, but something 
> other than Curve for the panel theme, they can't.  well, i think they 
> can (depends on if gtk_icon_theme_set_theme_name() works globally or 
> just for the current GtkIconTheme instance), but that requires 
> maintaining the pref for the panel icon theme (as well as a "use global 
> theme" option for the panel), and that sounds quite like prefs bloat to me.
> 

Implementation detail ;) I don't know what would work best. It's nice to
be able to choose a matching panel icon theme for gtk themes if the
exact theme is not available, but it would be awesome if these things
'just worked' without user intervention.

> either way, the icon theme setting needs to be changed to set 
> Net/IconThemeName in XSETTINGS, because xfdesktop's icon themes are 
> broken without it in gtk 2.4.
> 

I believe the difficult thing here is that some gtk themes define icon
themes and it would be nice if we could do the right thing and not
override the icon theme.

> so what do we think?  jasper, since the panel is yours, i'm especially 
> interested in your opinion.
> 

I think it's the natural development of icon themes in xfce. The more
integration with gtk themes we can get, the better.

	Jasper





More information about the Xfce4-dev mailing list