GNOME Bugzilla – Bug 433694
[Patch] Run gtk-update-icon-cache in uninstall-hook
Last modified: 2007-05-07 18:11:52 UTC
Please describe the problem: 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. Refer to #362604. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 87094 [details] [review] patch to run gtk-update-icon-cache in uninstall-hook
Comment on attachment 87094 [details] [review] patch to run gtk-update-icon-cache in uninstall-hook >Index: pixmaps/Makefile.am >=================================================================== >--- pixmaps/Makefile.am (revision 1331) >+++ pixmaps/Makefile.am (working copy) >@@ -23,12 +23,14 @@ > > gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor > >-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 > >Index: ChangeLog >=================================================================== >--- ChangeLog (revision 1331) >+++ ChangeLog (working copy) >@@ -1,3 +1,8 @@ >+2007-04-26 David Farning <dfarning@gmail.com> >+ >+ * pixmaps/Makefile.am (update-icon-cache): fix gtk-update-icon-cache for >+ uninstall-hook. >+ > 2007-04-26 Christian Persch <chpe@gnome.org> > > * gucharmap/gucharmap-search-dialog.c:(gucharmap_search_dialog_finalize):
2007-04-26 David Farning <dfarning@gmail.com> * pixmaps/Makefile.am (update-icon-cache): fix gtk-update-icon-cache for for uninstall-hook.