Re: .app intergration in GWorkspace

Richard Frith-Macdonald <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <6e5d9eb032aad38d58d81596695bcd1f@blackbox>
On 2005-10-22 06:12:14 +0100 Mathew McBride 
<[email protected]> wrote:

> Apps themselves are working fine (openapp or not) but GWorkspace didn't 
> recognize file types at all.
> 
> Surely even if the application the wrapper is launching is dud, GWorkspace 
> would still register the filetype?

Yes ... if the applications are stored in one of the standard directories, 
and 'make_services' has been run.

The way it works is this ... the make_services tool looks through all the 
standard directories for any application wrappers, and parses their 
Info_gnustep.plist file to determine file extensions that the app uses.  It 
builds up a map of all extensions and the apps that handle them.  It writes 
that mapping information to a file.

Any application (like GWorkspace) wishing to know about what file types are 
handled by what apps, reads the file rather than having to check all the 
applicatiuon directories.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.