From: Kevin A. <ka...@us...> - 2004-08-15 17:35:09
|
Update of /cvsroot/pythoncard/PythonCard/samples/textRouter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24441/samples/textRouter Modified Files: bloggeraccount.py manilaaccount.py textRouter.py Log Message: reversed message and title args for multipleChoiceDialog, singleChoiceDialog, textEntryDialog added singleChoiceDialog workaround for 2.5.2.7 added Alex to LICENSE.txt Index: textRouter.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/textRouter.py,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** textRouter.py 12 Aug 2004 19:19:02 -0000 1.81 --- textRouter.py 15 Aug 2004 17:34:58 -0000 1.82 *************** *** 550,554 **** widget = self.components.area1 if hasattr(widget, 'editable') and widget.canCut(): ! result = dialog.textEntryDialog(self, 'Add Link','URL:', 'http://') if result.accepted: url = result.text --- 550,554 ---- widget = self.components.area1 if hasattr(widget, 'editable') and widget.canCut(): ! result = dialog.textEntryDialog(self, 'URL:', 'Add Link', 'http://') if result.accepted: url = result.text *************** *** 693,697 **** result = dialog.textEntryDialog(self, 'Please enter the email address:', ! "Please enter the email address:", '') if not result.accepted: --- 693,697 ---- result = dialog.textEntryDialog(self, 'Please enter the email address:', ! "Please enter the email address", '') if not result.accepted: *************** *** 972,976 **** mimeType = imgTypes[i] ! result = dialog.textEntryDialog(self, 'Picture Name','Picture Name:', '') if result.accepted: imageTitle = result.text --- 972,976 ---- mimeType = imgTypes[i] ! result = dialog.textEntryDialog(self, 'Picture Name:', 'Picture Name', '') if result.accepted: imageTitle = result.text *************** *** 1468,1472 **** return 0 ! result = dialog.textEntryDialog(self, 'Fetch Post','Post ID:', '') if not result.accepted: --- 1468,1472 ---- return 0 ! result = dialog.textEntryDialog(self, 'Fetch Post:', 'Post ID', '') if not result.accepted: Index: manilaaccount.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/manilaaccount.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** manilaaccount.py 12 Aug 2004 19:19:02 -0000 1.21 --- manilaaccount.py 15 Aug 2004 17:34:58 -0000 1.22 *************** *** 57,62 **** if self.getPassword() == "": result = dialog.textEntryDialog(None, \ - "Password entry...", 'Please enter your Manila password (It will not be saved to the config): ', '', dialog.TEXT_PASSWORD) if not result.accepted: --- 57,62 ---- if self.getPassword() == "": result = dialog.textEntryDialog(None, \ 'Please enter your Manila password (It will not be saved to the config): ', + "Password entry...", '', dialog.TEXT_PASSWORD) if not result.accepted: Index: bloggeraccount.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/textRouter/bloggeraccount.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** bloggeraccount.py 12 Aug 2004 19:19:02 -0000 1.17 --- bloggeraccount.py 15 Aug 2004 17:34:58 -0000 1.18 *************** *** 55,60 **** if self.getPassword() == "": result = dialog.textEntryDialog(None, \ - "Password entry...", 'Please enter your Blogger password (It will not be saved to the config): ', '', dialog.TEXT_PASSWORD) if not result.accepted: --- 55,60 ---- if self.getPassword() == "": result = dialog.textEntryDialog(None, \ 'Please enter your Blogger password (It will not be saved to the config): ', + "Password entry...", '', dialog.TEXT_PASSWORD) if not result.accepted: |