On Tuesday, November 26, 2002, at 10:59  pm, David Ayers wrote:

Hello Everyone,

Here's a patch to support more programatic model manipulation:
I applied that, with a fix to a typo and a few very minor updates to the file.

PS: I orignially wanted to patch findPathForModelNamed: to use NSSearchPathForDirectoriesInDomains, but the current implemetation seems so unusual, that I would prefer to remove it. It seaches the main bundels resource directory for the model (which the global modal group would also); then it interprets the path as the location of a loadable bundle and if it is, searches its resource directory; then it searches for a loadable bundle named "Models" in ~/Library, /LocalLibrary and /NextLibrary, and if it finds it searches its resource directory. I think this method should be removed, but maybe someone can convince me otherwise.

I'm afraid I have no idea ... I never used the original EOF code, so I don't know what it did, but it seems reasonable to look in resources belonging to loaded bundles. Is that what it's trying to do?



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to