diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2006-07-24 18:05:51 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2006-07-24 18:05:51 (GMT) |
commit | a2946a437ee7886e6192b9e02725b8a04cdc80ae (patch) | |
tree | da0a36f7b5334342b544cb8a4aa444d0d93930c2 /Lib/idlelib/EditorWindow.py | |
parent | b3c4d16e688d073dae92f272d66b6efa4b70a734 (diff) | |
download | cpython-a2946a437ee7886e6192b9e02725b8a04cdc80ae.zip cpython-a2946a437ee7886e6192b9e02725b8a04cdc80ae.tar.gz cpython-a2946a437ee7886e6192b9e02725b8a04cdc80ae.tar.bz2 |
- EditorWindow.test() was failing. Bug 1417598
M EditorWindow.py
M ScriptBinding.py
M NEWS.txt
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 397d12e..cb166cf 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -95,11 +95,12 @@ class EditorWindow(object): self.tkinter_vars = flist.vars #self.top.instance_dict makes flist.inversedict avalable to #configDialog.py so it can access all EditorWindow instaces - self.top.instance_dict=flist.inversedict + self.top.instance_dict = flist.inversedict else: self.tkinter_vars = {} # keys: Tkinter event names # values: Tkinter variable instances - self.recent_files_path=os.path.join(idleConf.GetUserCfgDir(), + self.top.instance_dict = {} + self.recent_files_path = os.path.join(idleConf.GetUserCfgDir(), 'recent-files.lst') self.vbar = vbar = Scrollbar(top, name='vbar') self.text_frame = text_frame = Frame(top) |