icontheme: Add LRU cache back
Add a cache of icon infos that we keep around a little longer, to avoid loading icons from disk that only exist for a short amount of time (e.g. during one frame of a cell renderer snapshot). We make sure recently used items are kept alive by just adding them to the cache on lookup.
Showing with 46 additions and 7 deletions