Give a warning if system-wide sys.argv processing is off (because then we

may have missed an applet being dropped on us). This may fix the obscure bug
Tony Ingraldi was experiencing.
This commit is contained in:
Jack Jansen 1999-12-02 22:52:12 +00:00
parent c6f8fd925e
commit 43fd1f75db

View file

@ -151,7 +151,10 @@ def interact(options, title):
def edit_preferences(): def edit_preferences():
handler = pythonprefs.PythonOptions() handler = pythonprefs.PythonOptions()
result = interact(handler.load(), 'System-wide preferences') options = handler.load()
if options['noargs']:
EasyDialogs.Message('Warning: system-wide sys.argv processing is off.\nIf you dropped an applet I have not seen it.')
result = interact(options, 'System-wide preferences')
if result: if result:
handler.save(result) handler.save(result)