Re: call to scan in mbox.py
Michael McLay (mclay@eeel.nist.gov)
Tue, 21 Jun 94 11:55:59 EDT
Guido.van.Rossum@cwi.nl writes:
 > I suspect that Tk maintains a list of active applications on a
 > resource in the X server, and that Tk apps that get killed don't
 > remove themselves from the list.  To counter this effect in rmt.py, I
 > added an explicit check -- app names for which a simple command fails
 > are not listed in the menu (see the fillAppsMenu function).
 > 
 > Are you telling me that sometimes Tk windows are visible that are not
 > shown in the menu?
I tried a different copy of rmt.py and the missing menu item problem
disappeared.  Applications that died without being removed from the X
server resource list do appear in the menu.