El dom, 29-11-2009 a las 07:39 +0000, Richard Frith-Macdonald escribió:
> On 29 Nov 2009, at 01:33, Germán Arias wrote:
> 
> > Hi Richard
> > 
> > Is there a way to get the apps launched?. I need this on GSTaskBar to
> > remove the icons of apps killed. NSWorkspace have the method
> > +launchedApplications, but this info isn't up to date. Then GSTaskBar
> > can't work appropriately. Is there a way to get these through GNUstep?.
> > Or I need use an external tool (like ps)? Greetings. 
> 
> The +launched Applications method should do a pretty good job.  It's the way 
> to get a list of launched applications via GNUstep.
> For your purposes (removing apps from a list) it should be up to date ... I 
> don't know of a better way to get the information.

After review how GSTaskBar remove the icons, I notice that the problem
is a bad implementation. I assumed the problem was with the method +
launchedApplications because the documentation says "NB. The contents of
this array are not guaranteed to be up to date." 



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to