bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSWorkspace launchedApplications method


From: Matt Rice
Subject: Re: NSWorkspace launchedApplications method
Date: Wed, 18 Jun 2003 04:39:40 -0700 (PDT)

--- Adam Fedor <fedor@doc.com> wrote:

> It's a bummer there has to be a deamon just for
> handling this.

agreed

> Is there 
> anyway to combine it with something else?

well there's gdnc which belongs to base.
Fred already addressed this though.
attached is a patch and a test thing anyways..

> Maybe just using gdnc to 
> spread the information around?

maybe i'm misunderstanding,

I think then we run into issues of which app sends the
notification containing the array.. the oldest one
still running, which is most likely to have a complete
list of launched applications would be my guess.. 

just seemed to me like strange workarounds to have
instead of having something which would just listen
for the notifications

and another thing not addressed in the appinfod (nor
this patch) is if something crashes we'd probably want
to make it have some NSTimer connect to the apps and
if need be remove them from the list... doing it this
way if this happened without some app checking on that
"master" app seems like it could jeopordize the
contents of the array

> This could be better
> as at least with 
> gdnc we've thought about all the problems of where
> information should be 
> sent (e.g. are applications "running" on the server,
> the client, the 
> display?...)
> 

all good points, I'm not very firmiliar with.
I think another issue is multiple users on the same
host 



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Attachment: gdnc.diff
Description: gdnc.diff

Attachment: launchedTest-1.0.0.tar.gz
Description: launchedTest-1.0.0.tar.gz


reply via email to

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