[Fedora-packaging] Re: Re: iconcache, v0.5

Michael Schwendt bugs.michael at gmx.net
Mon Jan 1 12:34:14 UTC 2007


On Sun, 31 Dec 2006 21:41:04 -0600, Rex Dieter wrote:

> > It is a bug somewhere and the reason why gtk-update-icon-cache is executed
> > in post-install scriptlets. It's the only way freshly installed icons show
> > up in the GNOME desktop menu.
> 
> Running gtk-update-icon-cache is *not* the *only* way to see new icons. 
> touch'ing the top-level icon dir is (should be!) sufficient for that.

Yes, but it's a _manual operation_, because the last-modified time-stamp
of that directory is not updated when a sub-directory is changed. And
gtk-update-icon-cache doesn't do anything unless the top-level directory
has changed (or is touched!). Hence running this stuff manually cannot be
avoided so far.

Also, the GNOME menu seems somewhat slow in noticing the fresh time-stamp.
Probably due to some 2nd level of caching.




More information about the Fedora-packaging mailing list