[Python-checkins] r65165 - sandbox/trunk/ttk-gsoc/src/idlelib/EditorWindow.py

guilherme.polo python-checkins at python.org
Mon Jul 21 01:50:53 CEST 2008


Author: guilherme.polo
Date: Mon Jul 21 01:50:53 2008
New Revision: 65165

Log:
editorpage does not have a flist attribute, at least for now, so.. keep using EditorWindow's flist for the moment

Modified:
   sandbox/trunk/ttk-gsoc/src/idlelib/EditorWindow.py

Modified: sandbox/trunk/ttk-gsoc/src/idlelib/EditorWindow.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/EditorWindow.py	(original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/EditorWindow.py	Mon Jul 21 01:50:53 2008
@@ -223,7 +223,7 @@
         # XXX
         current_page = self.current_page()
         dirname, basename = current_page.io.defaultfilename()
-        current_page.flist.new(dirname)
+        self.flist.new(dirname)
         return "break"
 
     def new_tab(self, event=None, filename=None):


More information about the Python-checkins mailing list