summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configSectionNameDialog.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-01-14 22:03:31 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-01-14 22:03:31 (GMT)
commit8e92bf7699ac3617d3a0a9a55a38f642f5a6ecc6 (patch)
tree8e4486a10f7b3e00124724d0f1fe717fbb6c1f2e /Lib/idlelib/configSectionNameDialog.py
parent50e92235e7fc7151f591f76b73fb539e34593405 (diff)
downloadcpython-8e92bf7699ac3617d3a0a9a55a38f642f5a6ecc6.zip
cpython-8e92bf7699ac3617d3a0a9a55a38f642f5a6ecc6.tar.gz
cpython-8e92bf7699ac3617d3a0a9a55a38f642f5a6ecc6.tar.bz2
M Bindings.py
M EditorWindow.py M NEWS.txt M config-main.def M configDialog.py M configHandler.py M configHelpSourceEdit.py M configSectionNameDialog.py - Change default: IDLE now starts with Python Shell. - Removed the File Path from the Additional Help Sources scrolled list. - Add capability to access Additional Help Sources on the web if the Help File Path begins with //http or www. (Otherwise local path is validated, as before.) - Additional Help Sources were not being posted on the Help menu in the order entered. Implement sorting the list by [HelpFiles] 'option' number. - Add Browse button to New Help Source dialog. Arrange to start in Python/Doc if platform is Windows, otherwise start in current directory. - Put the Additional Help Sources directly on the Help menu instead of in an Extra Help cascade menu. Rearrange the Help menu so the Additional Help Sources come last. Update help.txt appropriately. - Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py
Diffstat (limited to 'Lib/idlelib/configSectionNameDialog.py')
-rw-r--r--Lib/idlelib/configSectionNameDialog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/configSectionNameDialog.py b/Lib/idlelib/configSectionNameDialog.py
index 7b768f1..4f1b002 100644
--- a/Lib/idlelib/configSectionNameDialog.py
+++ b/Lib/idlelib/configSectionNameDialog.py
@@ -63,16 +63,16 @@ class GetCfgSectionNameDialog(Toplevel):
name.strip()
if not name: #no name specified
tkMessageBox.showerror(title='Name Error',
- message='No name specified.')
+ message='No name specified.', parent=self)
nameOk=0
elif len(name)>30: #name too long
tkMessageBox.showerror(title='Name Error',
message='Name too long. It should be no more than '+
- '30 characters.')
+ '30 characters.', parent=self)
nameOk=0
elif name in self.usedNames:
tkMessageBox.showerror(title='Name Error',
- message='This name is already in use.')
+ message='This name is already in use.', parent=self)
nameOk=0
return nameOk