diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-11-19 13:55:07 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-11-19 13:55:07 (GMT) |
commit | a632a75a3e230e83aa3c436bc637760a3658af1e (patch) | |
tree | 628be3eb89b368b90b0d42528eedd0d3422fd324 /Tools | |
parent | 22d297be51567eb193e792a0da52b93e9a45b9a4 (diff) | |
download | cpython-a632a75a3e230e83aa3c436bc637760a3658af1e.zip cpython-a632a75a3e230e83aa3c436bc637760a3658af1e.tar.gz cpython-a632a75a3e230e83aa3c436bc637760a3658af1e.tar.bz2 |
Merged revisions 67283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67283 | martin.v.loewis | 2008-11-19 14:51:44 +0100 (Mi, 19 Nov 2008) | 1 line
Issue #4289: Remove Cancel button from AdvancedDlg.
........
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index ae99744..4b1e3d9 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -717,18 +717,15 @@ def add_ui(db): ##################################################################### # Advanced Dialog. advanced = PyDialog(db, "AdvancedDlg", x, y, w, h, modal, title, - "CompilePyc", "Next", "Cancel") + "CompilePyc", "Ok", "Ok") advanced.title("Advanced Options for [ProductName]") # A radio group with two options: allusers, justme advanced.checkbox("CompilePyc", 135, 60, 230, 50, 3, - "COMPILEALL", "Compile .py files to byte code after installation", "Next") + "COMPILEALL", "Compile .py files to byte code after installation", "Ok") - c = advanced.next("Finish", "Cancel") + c = advanced.cancel("Ok", "CompilePyc", name="Ok") # Button just has location of cancel button. c.event("EndDialog", "Return") - c = advanced.cancel("Cancel", "CompilePyc") - c.event("SpawnDialog", "CancelDlg") - ##################################################################### # Existing Directory dialog dlg = Dialog(db, "ExistingDirectoryDlg", 50, 30, 200, 80, modal, title, |