summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-04-26 23:36:47 (GMT)
committerBarry Warsaw <barry@python.org>1999-04-26 23:36:47 (GMT)
commit6e7f6ea7569467fb591d2f145befb0093ee51f0f (patch)
tree31c3bbb3e1668426901e9a12fda4253a4b45045d
parent3f01c724fde31f7d173db2655aa6f1cafc853de2 (diff)
downloadcpython-6e7f6ea7569467fb591d2f145befb0093ee51f0f.zip
cpython-6e7f6ea7569467fb591d2f145befb0093ee51f0f.tar.gz
cpython-6e7f6ea7569467fb591d2f145befb0093ee51f0f.tar.bz2
Put the 'File' menu on the menubar even when modal, so users can get
to the 'load palette' entry. Just don't put the quit button on there.
-rw-r--r--Tools/pynche/PyncheWidget.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py
index 810b7ab..6e087e3 100644
--- a/Tools/pynche/PyncheWidget.py
+++ b/Tools/pynche/PyncheWidget.py
@@ -87,10 +87,9 @@ class PyncheWidget:
#
# Tie them all together
#
- if not modal:
- menubar.add_cascade(label='File',
- menu=filemenu,
- underline=0)
+ menubar.add_cascade(label='File',
+ menu=filemenu,
+ underline=0)
menubar.add_cascade(label='View',
menu=viewmenu,
underline=0)