Le 10 févr. 05, à 17:49, M. Uli Kusterer a écrit :
At 15:29 Uhr +0100 10.02.2005, Quentin Mathé wrote:
For compatibility with Freedesktop thumbnails specificationŠ I have
done the same for the icons, but it isn't really needed probably.
http://jens.triq.net/thumbnail-spec/index.html
Well, for the icons I could see how it'd technically be handy. But of
course with OpenStep having bundle identifiers, it seemed kind of
strange for application icons. But I guess if it keeps us compatible
with Freedesktop, that's handy.
Yes, it is not really useful for application icons, I will need to do a
choice here.
-> In _obtainBundlePathIfNeeded, you can't use
bundleWithIdentifier:. bundleWithIdentifier only works for objects
that have already been loaded
I know it doesn't work currently, but I projected to fix it by
extending GNUstep code directly or with a category to support that by
querying the make_services database (which is equivalent to
LaunchServices database on Mac OS X)
Just not sure it'd be a good idea to change the behavior. GNUstep
apps that use this feature wouldn't port well to other OpenStep
platforms, and it'd take people a while to find out that their app
doesn't work because of a difference in this API. If you add your own
with a different name, at least they'd notice at compile-time that the
functionality needs to be ported over, too.
I should do that and have it included in -base GNUstep specific stuff
which compiles directly on Cocoa normally… hmm but I will need to write
a different version for Mac OS X probably so it will probably stay
outside of -base.
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]