[Bug 11688] gtk-update-icon-cache not run
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Fri Jun 10 15:52:09 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=11688
Ubuntu | gtk+2.0
bmaurer at novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|NOTABUG |
------- Additional Comments From bmaurer at novell.com 2005-06-10 16:52 UTC -------
"This caching can make it impossible for users to add icons without having to
restart applications. In order to handle this, any implementation that does
caching is required to look at the mtime of the toplevel icon directories when
doing a cache lookup, unless it already did so less than 5 seconds ago. This
means that any icon editor or theme installation program need only to change the
mtime of the the toplevel directory where it changed the theme to make sure that
the new icons will eventually get used."
http://cvs.fedora.redhat.com/viewcvs/devel/gnome-panel/gnome-panel.spec?rev=1.68&view=auto
gives a correct example of the impl of the spec in an rpm format:
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
Given the huge benefit, it seems worth a small audit to get this correct.
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the desktop-bugs
mailing list