--- a/Cooperation/ChatWidget.py Mon Aug 30 20:16:34 2010 +0200 +++ b/Cooperation/ChatWidget.py Tue Aug 31 12:17:02 2010 +0200 @@ -12,6 +12,7 @@ QMessageBox, QApplication from E5Gui.E5Application import e5App +from E5Gui import E5MessageBox from Globals import recentNameHosts @@ -560,7 +561,7 @@ f.write(txt) f.close() except IOError as err: - QMessageBox.critical(self, + E5MessageBox.critical(self, self.trUtf8("Error saving Chat"), self.trUtf8("""<p>The chat contents could not be written""" """ to <b>{0}</b></p><p>Reason: {1}</p>""")\ @@ -671,4 +672,4 @@ QDateTime.currentDateTime().toString(Qt.SystemLocaleLongDate) + ":") self.chatEdit.append(self.trUtf8("* {0} has been banned and kicked.\n").format( itm.text().split(":")[0])) - self.chatEdit.setTextColor(color) + self.chatEdit.setTextColor(color) \ No newline at end of file