GNOME Bugzilla – Bug 330851
installs icon in the wrong place.
Last modified: 2006-02-18 10:34:49 UTC
Currently devhelp installs it's icon in DATADIR/pixmaps. It should install it in DATADIR/icons/hicolor/48x48/apps such that it's themeable.
Good catch. We also need to add some gtk-update-icon-cache fu to the build. Also see http://bugzilla.gnome.org/show_bug.cgi?id=144859 for a new nicer icon.
What I found from doing this in gucharmap and dasher is that the application then simply needs to call gtk_window_set_default_icon_name ("devhelp"). I'll check about the gtk-update-icon-cache fu and commit.
Great, thanks!
2006-02-18 Behdad Esfahbod <behdad@gnome.org> * src/dh-main.c (main): Pass gettextized string to g_set_application_name, as per glib docs recommendation. * src/dh-main.c (main): Set default icon name to devhelp. * src/dh-window.c (dh_window_new): Set window icon name to devhelp (and no icon file tweaking at all.) * ui/Makefile.am: Install PNG and SVG icons in the themeable locations. Call gtk-update-icon-cache. Distribute ui/COPYING. Fixes bug #330851. * ui/devhelp.svg, ui/devhelp.png: Shiny new single red book icon from Marcus Leyman. Fixes bug #144859. * ui/COPYING: Copying infor for the new icon.