diff options
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/scripts/EditPythonPrefs.py | 9 | ||||
-rw-r--r-- | Mac/scripts/EditPythonPrefs.rsrc.hqx | 122 |
2 files changed, 68 insertions, 63 deletions
diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py index eda4bf7..389a774 100644 --- a/Mac/scripts/EditPythonPrefs.py +++ b/Mac/scripts/EditPythonPrefs.py @@ -145,9 +145,14 @@ def interact(list, pythondir, options, title): tp, h, rect = d.GetDialogItem(TITLE_ITEM) SetDialogItemText(h, title) tp, h, rect = d.GetDialogItem(TEXT_ITEM) - SetDialogItemText(h, string.joinfields(list, '\r')) +## SetDialogItemText(h, string.joinfields(list, '\r')) + h.data = string.joinfields(list, '\r') + d.SelectDialogItemText(TEXT_ITEM, 0, 32767) + d.SelectDialogItemText(TEXT_ITEM, 0, 0) ## d.SetDialogDefaultItem(OK_ITEM) d.SetDialogCancelItem(CANCEL_ITEM) + d.GetDialogWindow().ShowWindow() + d.DrawDialog() while 1: n = ModalDialog(None) if n == OK_ITEM: @@ -162,7 +167,7 @@ def interact(list, pythondir, options, title): pythondir = fss if n == OPTIONS_ITEM: options = optinteract(options) - tmp = string.splitfields(GetDialogItemText(h), '\r') + tmp = string.splitfields(h.data, '\r') rv = [] for i in tmp: if i: diff --git a/Mac/scripts/EditPythonPrefs.rsrc.hqx b/Mac/scripts/EditPythonPrefs.rsrc.hqx index 6bd1480..9b31900 100644 --- a/Mac/scripts/EditPythonPrefs.rsrc.hqx +++ b/Mac/scripts/EditPythonPrefs.rsrc.hqx @@ -2,64 +2,64 @@ :&%9NDA43HA4SEfj3FQ9QFbjbFh*M!(*cFQ058d9%!3#3"`m+@DJ!N!3"!!!!$FN !!!c*!!!"36B8)&3JD!!8)&"p%E"S%3!k!@FQ%Lm-6VS#$!`k!&Tj&%9NDA43HA4 -SEfj3FQ9QFbjbFh*MF`)!!!"bFh*M8P-!!(*cFQ058d9%!3!!0!#3&+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