GNOME Bugzilla – Bug 100078
looking for icon theme in wrong prefix
Last modified: 2004-12-22 21:47:04 UTC
I've used garnome to install gnome 2.3.1 installed into /storage/garnome I can change icon themes manually with gconf to any of the themes in /storage/garnome/share/icons - but in the theme applet the icon themes in /usr/garnome/share/icons are listed instead. Not sure if this is a garnome bug or a control center bug
OK, could verify it: it's a gnome-control-center bug. ... icon_themes_add_dir ("/usr/share/icons"); ... (common/gnome-theme-info.c, l. 397) Any comments on that? How should we solve it? My proposal is renaming this file from .c to .c.in and generating that at configure time. regs, Chris
Can't you just use a preprocessor macro?
*** Bug 100720 has been marked as a duplicate of this bug. ***
What is done for the metacity and gtk theme tabs? couldn't the code just be reused from there? And does whoever is working on the themes applet atm know about this bug?
Metacity and GTK are using gtk_rc_get_theme_dir, which is going to be based off the run-time location of the GtkRC theme directory. The problem with icon themes is that they aren't rooted in the theme directory in the same way (its a shame, but that's how it goes). Consequently, we'll need different code.
I think that icons should be in PREFIX/share/themes too, to make it easier to make proper metathemes in the first place. In this case the control center would need very little modification, but the code that implements icon themes would need to be tweaked, along with the makefiles for gnome-icon-theme. And because this is the first stable release with icon themes it is important to decide the permanent location for them now.
They _should_ be in $PREFIX/share/themes. But they're not, and to move them now would be breaking the icon theme specification.
Well maybe we should look to having the *draft* specification fixed before we ship. Since we are the first ppl(appart from rh8) to ship it I can't see that it would be impossible to do.
I've changed the capplet to work as per the freedesktop icon spec for now (esp. since that's what all the other pieces of GNOME are using). If you want this changed, time to push on freedesktop is *now*.
I've updated from CVS and the applet is still not picking up the accesibility or gnome icon themes in PREFIX/usr/share
Don't mind me. Sorry about the Spam. It is working.