diff -r 72b32daeb8d6 -r 7f1a56e80124 UI/UserInterface.py --- a/UI/UserInterface.py Tue Aug 31 12:17:02 2010 +0200 +++ b/UI/UserInterface.py Tue Aug 31 12:36:10 2010 +0200 @@ -2996,7 +2996,7 @@ """ Private method to restart the application. """ - res = QMessageBox.question(None, + res = E5MessageBox.question(self, self.trUtf8("Restart application"), self.trUtf8("""The application needs to be restarted. Do it now?"""), QMessageBox.StandardButtons(\ @@ -5520,7 +5520,7 @@ if "-snapshot-" in Version: # check snapshot version if versions[2] > Version: - res = QMessageBox.question(self, + res = E5MessageBox.question(self, self.trUtf8("Update available"), self.trUtf8("""The update to <b>{0}</b> of eric5 is available""" """ at <b>{1}</b>. Would you like to get it?""")\ @@ -5531,7 +5531,7 @@ QMessageBox.Yes) url = res == QMessageBox.Yes and versions[3] or '' elif versions[0] > Version: - res = QMessageBox.question(self, + res = E5MessageBox.question(self, self.trUtf8("Update available"), self.trUtf8("""The update to <b>{0}</b> of eric5 is available""" """ at <b>{1}</b>. Would you like to get it?""")\ @@ -5549,7 +5549,7 @@ else: # check release version if versions[0] > Version: - res = QMessageBox.question(self, + res = E5MessageBox.question(self, self.trUtf8("Update available"), self.trUtf8("""The update to <b>{0}</b> of eric5 is available""" """ at <b>{1}</b>. Would you like to get it?""")\