SF.net SVN: fclient:[840] trunk/fclient/fclient/impl/DlgDownloadKeyToDisk. py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-07-31 17:26:41
|
Revision: 840 http://fclient.svn.sourceforge.net/fclient/?rev=840&view=rev Author: jUrner Date: 2008-07-31 17:26:50 +0000 (Thu, 31 Jul 2008) Log Message: ----------- bit harsh to throw a critical at the user Modified Paths: -------------- trunk/fclient/fclient/impl/DlgDownloadKeyToDisk.py Modified: trunk/fclient/fclient/impl/DlgDownloadKeyToDisk.py =================================================================== --- trunk/fclient/fclient/impl/DlgDownloadKeyToDisk.py 2008-07-31 17:07:36 UTC (rev 839) +++ trunk/fclient/fclient/impl/DlgDownloadKeyToDisk.py 2008-07-31 17:26:50 UTC (rev 840) @@ -92,19 +92,19 @@ key = unicode(edKey.text()) if not key: - return QtGui.QMessageBox.critical(self, self.windowTitle(), 'Please enter a key to download') + return QtGui.QMessageBox.warning(self, self.windowTitle(), 'Please enter a key to download') try: self._fcpKey = fcp2.Key(key) except fcp2.ErrorKey: - return QtGui.QMessageBox.critical(self, self.windowTitle(), 'Looks like the key entered is not valid') + return QtGui.QMessageBox.warning(self, self.windowTitle(), 'Looks like the key entered is not valid') fileName = edFileName.text() if fileName.isEmpty(): - return QtGui.QMessageBox.critical(self, self.windowTitle(), 'Please enter a filename for the key') + return QtGui.QMessageBox.warning(self, self.windowTitle(), 'Please enter a filename for the key') directory = edDirectory.text() if directory.isEmpty(): - return QtGui.QMessageBox.critical(self, self.windowTitle(), 'Please enter a directory under wich to save the key') + return QtGui.QMessageBox.warning(self, self.windowTitle(), 'Please enter a directory under wich to save the key') self._fileName = os.path.join(unicode(directory), unicode(fileName)) self.done(self.Accepted) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |