GNOME Bugzilla – Bug 362604
Run gtk-update-icon-cache in uninstall-hook
Last modified: 2009-01-11 19:55:19 UTC
Copying from http://jongsmamm.blogspot.com/2006/10/icon-theme-cache-issues.html In the theme-friendly-icons gnome goal: http://live.gnome.org/GnomeGoals/AppIcon We made all apps run gtk-update-icon-cache in install-hook. They also should call it in uninstall-hook. The patch should be something like: - install-data-hook : + install-data-hook: update-icon-cache + uninstall-hook: update-icon-cache + update-icon-cache: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ - echo "*** Icon cache not updated. After install, run this:"; \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi We should run another GNOME Goal to apply this.
Depends on bugs: 432437 432735 432439 433060 433078 433075 433070 Sorry, can't change that because of unsufficient bugzilla privileges...
To be honest, you have to create goal #5 then. This action should be converted to automake macro and used in applications. Otherwise you have to change every app if something will change once again like with forgotten unistall-hook.
Closing, as all the bug it depended on are closed.