[Idle-dev] CVS: idle EditorWindow.py,1.10,1.11

Stephen M. Gava elguavas@users.sourceforge.net
Tue, 20 Nov 2001 21:55:08 -0800


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv20686

Modified Files:
	EditorWindow.py 
Log Message:
back in harness on new config system


Index: EditorWindow.py
===================================================================
RCS file: /cvsroot/idlefork/idle/EditorWindow.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** EditorWindow.py	2001/10/07 11:10:44	1.10
--- EditorWindow.py	2001/11/21 05:55:06	1.11
***************
*** 18,22 ****
  import WindowList
  from IdleConf import idleconf
! import aboutDialog, textView
  
  # The default tab setting for a Text widget, in average-width characters.
--- 18,22 ----
  import WindowList
  from IdleConf import idleconf
! import aboutDialog, textView, configDialog
  
  # The default tab setting for a Text widget, in average-width characters.
***************
*** 124,127 ****
--- 124,128 ----
          text.bind("<<python-docs>>", self.python_docs)
          text.bind("<<about-idle>>", self.about_dialog)
+         text.bind("<<open-config-dialog>>", self.config_dialog)
          text.bind("<<open-module>>", self.open_module)
          text.bind("<<do-nothing>>", lambda event: "break")
***************
*** 221,224 ****
--- 222,226 ----
          ("format", "F_ormat"),
          ("run", "_Run"),
+         #("settings", "_Settings"),
          ("windows", "_Windows"),
          ("help", "_Help"),
***************
*** 278,281 ****
--- 280,286 ----
      def about_dialog(self, event=None):
          aboutDialog.AboutDialog(self.top,'About IDLEfork')
+         
+     def config_dialog(self, event=None):
+         configDialog.ConfigDialog(self.top,'Settings')
          
      def good_advice(self, event=None):