[Top][All Lists]

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

Re: GNUstep equivalent to the "open" tool.

From: Tom Hageman
Subject: Re: GNUstep equivalent to the "open" tool.
Date: Sun, 25 Mar 2001 19:55:30 +0200

On Sat, 24 Mar 2001 18:37:50 -0800 (PST), Gregory Casamento wrote:
> Under OPENSTEP4.2 and MOSX an applications supported extensions
> are added to the "suffixes" database when the application is docked.

Actually, in NeXTSTEP/OPENSTEP the app does not necessarily have to be  
docked in order to collect its extension info.  (that would mean that only  
documents associated with docked apps would be double-clickable, which in  
light of the limited number of slots available in the NS/OS dock would  
give rather a poor user experience.)

In fact, what happens is that when the user logs in, or later chooses  
"View > Update viewers" in Workspace, _all_ apps in a few known  
directories, and subdirectories thereof, are scanned (by default ~/Apps  
/LocalApps /NextApps /NextDeveloper/Apps /NextAdmin /NextDeveloper/Demos  
on NS/OS; this could be changed by setting the ApplicationPaths default),  
and their extension info is collected into the suffixes database.  This  
database  is subsequently used by NSWorkspace to associate document  
extensions with application paths.

> Since WindowMaker is being used to dock our applications how should we
> provide similar functionality under GNUstep?

make_services might be a natural candidate, as it already scans the apps  
for services info.

__/__/__/__/  Tom Hageman  <address@hidden> (home)  [NeXTmail/Mime OK]
  __/ __/_/         <address@hidden> (work)  [Mime OK]
__/  _/_/                                              [ObjC retain];
objc: FREED(id): message retain sent to freed object=0xdeadcafe

reply via email to

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