Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13573/Pythonwin/pywin/debugger
Modified Files:
configui.py
Log Message:
merge from py3k branch - remove 'import *'
Index: configui.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/debugger/configui.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** configui.py 1 Sep 1999 23:33:41 -0000 1.1
--- configui.py 2 Oct 2008 11:16:53 -0000 1.2
***************
*** 1,4 ****
! from dbgcon import *
from pywin.mfc import dialog
class DebuggerOptionsPropPage(dialog.PropertyPage):
--- 1,5 ----
! import dbgcon
from pywin.mfc import dialog
+ import win32ui
class DebuggerOptionsPropPage(dialog.PropertyPage):
***************
*** 7,15 ****
def OnInitDialog(self):
! options = self.options = LoadDebuggerOptions()
! self.AddDDX(win32ui.IDC_CHECK1, OPT_HIDE)
! self[OPT_STOP_EXCEPTIONS] = options[OPT_STOP_EXCEPTIONS]
! self.AddDDX(win32ui.IDC_CHECK2, OPT_STOP_EXCEPTIONS)
! self[OPT_HIDE] = options[OPT_HIDE]
return dialog.PropertyPage.OnInitDialog(self)
--- 8,16 ----
def OnInitDialog(self):
! options = self.options = dbgcon.LoadDebuggerOptions()
! self.AddDDX(win32ui.IDC_CHECK1, dbgcon.OPT_HIDE)
! self[dbgcon.OPT_STOP_EXCEPTIONS] = options[dbgcon.OPT_STOP_EXCEPTIONS]
! self.AddDDX(win32ui.IDC_CHECK2, dbgcon.OPT_STOP_EXCEPTIONS)
! self[dbgcon.OPT_HIDE] = options[dbgcon.OPT_HIDE]
return dialog.PropertyPage.OnInitDialog(self)
***************
*** 23,27 ****
dirty = 1
if dirty:
! SaveDebuggerOptions(self.options)
# If there is a debugger open, then set its options.
import pywin.debugger
--- 24,28 ----
dirty = 1
if dirty:
! dbgcon.SaveDebuggerOptions(self.options)
# If there is a debugger open, then set its options.
import pywin.debugger
|