GNOME Bugzilla – Bug 384160
doesn't find its icons
Last modified: 2007-01-10 23:06:00 UTC
because it doesn't add the theme dir to the search path.
Created attachment 78049 [details] [review] patch
Created attachment 78050 [details] [review] complete patch
Looks fine. It'd be great if you could move the icons into an app-specific directory at the same time as per dobey's blog entry on the subject along with this :) See "Themeable app-specific icons" on http://wayofthemonkey.com/ (there doesn't seem to be a way to link to individual entries)
* data/icons/hicolor/128x128/apps/Makefile.am: * data/icons/hicolor/16x16/apps/Makefile.am: * data/icons/hicolor/22x22/apps/Makefile.am: * data/icons/hicolor/48x48/apps/Makefile.am: * data/icons/hicolor/scalable/apps/Makefile.am: - Install the icons in the app sharedir, not the global one. * src/fe-gnome/Makefile.am: * src/fe-gnome/pixmaps.c: (pixmaps_init): - Append the app icon dir to the theme directories, so xchat-gnome can find its icons. Bug #384160.
The applications logo icon should still be installed into the system hicolor theme. From dobey's blog: "While the application's logo icon for use in the system menus, and the app's about box and window titlebars, should still go into the system hicolor theme, following the guidelines in the Icon Theme and Icon Naming specifications, we can't really do this for other icons." If I get some free time later today, I'll try to work up a patch to correct this.
Created attachment 79986 [details] [review] Patch to install application icon into system hicolor theme Here's a patch to install the applications icon into the system hicolor theme. The Makefile.am in the data/ shouldn't need to be modified, since the gtk-update-icon-cache scriptlet wasn't modified with the last patch.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.