Re: Problem with SVG Cache

2009-03-16 Thread Sebastian Kügler
On Monday 16 March 2009 18:08:01 Aaron J. Seigo wrote: > On Sunday 15 March 2009, Sebastian Kügler wrote: > > Can't we keep an KFileWatcher-eye on the theme directories, and > > invalidate the cache for files that have been changed? > > we could, but given that those files change extremely rarely

Re: Problem with SVG Cache

2009-03-16 Thread Aaron J. Seigo
On Sunday 15 March 2009, Sebastian Kügler wrote: > Can't we keep an KFileWatcher-eye on the theme directories, and invalidate > the cache for files that have been changed? we could, but given that those files change extremely rarely it would be unfortunate if we'd have to resort to that. -- Aar

Re: Problem with SVG Cache

2009-03-15 Thread Sebastian Kügler
On Friday 13 March 2009 17:52:22 Aaron J. Seigo wrote: > On Friday 13 March 2009, Marco Martin wrote: > > what i was thinking about is checking the file timestamp only when a svg- > > > > >setImagePath is done and when the file doesn't belong to the theme (or > > > > doesn't belong to widgets or di

Re: Problem with SVG Cache

2009-03-13 Thread Aaron J. Seigo
On Friday 13 March 2009, Marco Martin wrote: > what i was thinking about is checking the file timestamp only when a svg- > > >setImagePath is done and when the file doesn't belong to the theme (or > > doesn't belong to widgets or dialogs folders) this shouldn't add too much > overhead since those f

Re: Problem with SVG Cache

2009-03-13 Thread Marco Martin
On Thursday 12 March 2009, Arthur Renato Mello wrote: > Hello, > > I am facing a issue using svg on plasmoids. If I update/change the > used svg file, the plasmoid will keep with the old pixmap from cache. > If I understood the code correctly, all svg files will be stored on > cache (even the ones

Problem with SVG Cache

2009-03-12 Thread Arthur Renato Mello
Hello, I am facing a issue using svg on plasmoids. If I update/change the used svg file, the plasmoid will keep with the old pixmap from cache. If I understood the code correctly, all svg files will be stored on cache (even the ones that are not on a theme dir). but the cache will only discard an