Update of /cvsroot/pythoncard/PythonCard/samples/textRouter
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27879/samples/textRouter
Modified Files:
bloggeraccount.py manilaaccount.py textRouter.py
Log Message:
more dialog related fixes
Index: textRouter.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/textRouter.py,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** textRouter.py 15 Aug 2004 17:34:58 -0000 1.82
--- textRouter.py 15 Aug 2004 17:55:36 -0000 1.83
***************
*** 270,274 ****
"""Saves the text to a file chosen by dialog box."""
result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\
! "text.txt", "*", dialog.FILE_SAVE)
if result.accepted:
--- 270,274 ----
"""Saves the text to a file chosen by dialog box."""
result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\
! "text.txt", "*", wx.SAVE)
if result.accepted:
***************
*** 299,303 ****
"""Saves the config file in to a specified (by dialog) file"""
result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\
! self.configFile, "conf", dialog.FILE_SAVE)
if result.accepted:
path = result.paths[0]
--- 299,303 ----
"""Saves the config file in to a specified (by dialog) file"""
result = dialog.fileDialog(self, 'Save As...', self.generalPrefs["defaultDirectory"],\
! self.configFile, "conf", wx.SAVE)
if result.accepted:
path = result.paths[0]
Index: manilaaccount.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/manilaaccount.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** manilaaccount.py 15 Aug 2004 17:34:58 -0000 1.22
--- manilaaccount.py 15 Aug 2004 17:55:36 -0000 1.23
***************
*** 2,6 ****
import xmlrpclib
#from socket import gaierror
!
import time
--- 2,6 ----
import xmlrpclib
#from socket import gaierror
! import wx
import time
***************
*** 59,63 ****
'Please enter your Manila password (It will not be saved to the config): ',
"Password entry...",
! '', dialog.TEXT_PASSWORD)
if not result.accepted:
self.setErrorMessage("You must enter a password to continue.")
--- 59,63 ----
'Please enter your Manila password (It will not be saved to the config): ',
"Password entry...",
! '', wx.TE_PASSWORD)
if not result.accepted:
self.setErrorMessage("You must enter a password to continue.")
Index: bloggeraccount.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/bloggeraccount.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** bloggeraccount.py 15 Aug 2004 17:34:58 -0000 1.18
--- bloggeraccount.py 15 Aug 2004 17:55:36 -0000 1.19
***************
*** 1,5 ****
from PythonCard import dialog
import xmlrpclib
!
from trTransport import trURLlibTransport
--- 1,5 ----
from PythonCard import dialog
import xmlrpclib
! import wx
from trTransport import trURLlibTransport
***************
*** 57,61 ****
'Please enter your Blogger password (It will not be saved to the config): ',
"Password entry...",
! '', dialog.TEXT_PASSWORD)
if not result.accepted:
self.setErrorMessage("You must enter a password to continue.")
--- 57,61 ----
'Please enter your Blogger password (It will not be saved to the config): ',
"Password entry...",
! '', wx.TE_PASSWORD)
if not result.accepted:
self.setErrorMessage("You must enter a password to continue.")
|