diff -r 72b32daeb8d6 -r 7f1a56e80124 Cooperation/Connection.py --- a/Cooperation/Connection.py Tue Aug 31 12:17:02 2010 +0200 +++ b/Cooperation/Connection.py Tue Aug 31 12:36:10 2010 +0200 @@ -11,6 +11,8 @@ from PyQt4.QtGui import QMessageBox from PyQt4.QtNetwork import QTcpSocket +from E5Gui import E5MessageBox + import Preferences MaxBufferSize = 1024 * 1024 @@ -191,7 +193,7 @@ not Preferences.getCooperation("AutoAcceptConnections"): # don't ask for reverse connections or # if we shall accept automatically - res = QMessageBox.question(None, + res = E5MessageBox.question(None, self.trUtf8("New Connection"), self.trUtf8("""<p>Accept connection from """ """<strong>{0}@{1}</strong>?</p>""").format( @@ -415,4 +417,4 @@ self.__pingTimer.stop() if self.__state == Connection.WaitingForGreeting: self.rejected.emit(self.trUtf8("* Connection to {0}:{1} refused.").format( - self.peerName(), self.peerPort())) + self.peerName(), self.peerPort())) \ No newline at end of file