[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Adding icon cache to kdelibs?
From: "Thiago Macieira" <thiago () kde ! org>
Date: 2007-06-21 13:08:31
Message-ID: 2773.172.26.0.1.1182431311.squirrel () 172 ! 26 ! 0 ! 1
[Download RAW message or body]
Jakob Petsovits said:
>> "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."
> Wouldn't it make sense to check on the index.desktop file of the theme
> instead? That one should have an updated mtime every time a new version is
> installed, and would work with tarballs as far as I can see.
You're talking about installing a new theme or upgrading an existing one.
But the problem is a bit wider than that: what happens if new icons are
added to a theme, especially the hicolor theme?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic