Re: A little help for GWorkspace
Jonathan Gapen <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.applications |
|---|---|
| Message-ID | <[email protected]> |
Enrico Sersale wrote:
> A NSTimer to reread the contents of all the column of the browser is too
> time-consuming.
Don't re-read all of the browser columns, then. Why not use
fileAttributesAtPath:traverseLink: in NSFileManager to check the
modification time of the directory corresponding to the column, and if
it's newer than your last check, then update?
This way, it won't need to re-load when files get updated, only when
they're added or removed. (Which is what you want, right?)
> become a really usable application (actually I'm the only user, I think
Nope! I tend to listen to MP3 tunes by picking a new one after the
previous one ends. Nothing matches the utility of the NeXT-style
browser for this use, so I use GWorkspace along with an xmms wrapper.