GNOME Bugzilla – Bug 310221
GtkIconTheme doesn't notice new unthemed icons
Last modified: 2005-07-13 14:12:06 UTC
In Fedora, we're seeing a problem where users install a new package which contains an unthemed icon and although the menu item appears in the menu, the icon doesn't appear in the menu item. See: https://www.redhat.com/archives/fedora-extras-list/2005-July/msg00610.html We thought the problem was an icon-theme.cache file in an unthemed icons dir (bug #310131), but it turns out GtkIconTheme never checks the mtime on unthemed icons directories like it does on theme directories. Attaching a patch
Created attachment 49089 [details] [review] gtk-notice-new-unthemed-icons.patch
2005-07-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (load_themes): Don't keep the caches for unthemed directories in a separate list, instead append them at the end of the dir_mtimes list, so that we can check them for staleness like the other caches. (#310221, Mark McLoughlin)