[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep equivalent to the "open" tool.

From: Richard Frith-Macdonald
Subject: Re: GNUstep equivalent to the "open" tool.
Date: Sun, 25 Mar 2001 07:02:03 +0100

On Sunday, March 25, 2001, at 03:37 AM, Gregory Casamento wrote:

> All, 
> Under OPENSTEP4.2 and MOSX an applications supported extensions 
> are added to the "suffixes" database when the application is docked.

Neat ... I didn't know that.

> Since WindowMaker is being used to dock our applications how should we 
> provide similar functionality under GNUstep? 
> For this to happen, WindowMaker will need to know when a GNUstep application 
> is being docked and examine the NSExtensions entry in Info-gnustep.plist.  It 
> will then insert the extensions into the GNUstep equivalent of the suffixes 
> file which will be used by both the fileviewer application and the open tool. 

I think that the simplest mechanism would be to modify make_services to provide
a new command-line option to add the suffixes and presumably the services 
by an application to the database it created when the user logged in.

All WindowMaker would need to do then would be to run make_services providing 
full path to the application as an argument.  That way, the existing code for
creating the database would be re-used, and WindowMaker wouldn't have to know
anything about it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]