On Sun, Jan 23, 2011 at 14:30, David Chisnall <[email protected]> wrote:
> > Perhaps NSApplication would be a better place for this? A lot of > applications won't touch NSWorkspace in normal operation, but they will all > use NSApplication (or UIApplication, in the future...). The NSWorkspace > code, called by make_services, would then: > > 1) Look in the cache and check that all apps in the cache still exist. > 2) Scan Applications directories for new apps and add them to the cache. > > This would mean that anything using NSWorkspace would see all apps that > were either installed in their normal locations, or had been explicitly > launched at least once by the user from another location. > > This sounds great! However, perhaps checking standard directories for applications and reading all Info.plists is not wise for performance reasons; perhaps leaving that task to make_services would be a good idea, while just making sure that cached apps exist, and that currently running app is registered? -- Regards, Ivan Vučica
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
