UI/EmailDialog.py

changeset 3020
542e97d4ecb3
parent 3012
d177226027e2
child 3030
4a0a82ddd9d2
--- a/UI/EmailDialog.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/UI/EmailDialog.py	Mon Oct 14 19:30:36 2013 +0200
@@ -118,7 +118,8 @@
         @param ev key event (QKeyEvent)
         """
         if ev.key() == Qt.Key_Escape:
-            res = E5MessageBox.yesNo(self,
+            res = E5MessageBox.yesNo(
+                self,
                 self.trUtf8("Close dialog"),
                 self.trUtf8("""Do you really want to close the dialog?"""))
             if res:
@@ -137,7 +138,8 @@
         """
         Private slot to handle the rejected signal of the button box.
         """
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Close dialog"),
             self.trUtf8("""Do you really want to close the dialog?"""))
         if res:
@@ -301,7 +303,8 @@
                         errorStr = e[1]
                     else:
                         errorStr = str(e)
-                    res = E5MessageBox.retryAbort(self,
+                    res = E5MessageBox.retryAbort(
+                        self,
                         self.trUtf8("Send bug report"),
                         self.trUtf8(
                             """<p>Authentication failed.<br>Reason: {0}</p>""")
@@ -326,7 +329,8 @@
                 errorStr = e[1]
             else:
                 errorStr = str(e)
-            res = E5MessageBox.retryAbort(self,
+            res = E5MessageBox.retryAbort(
+                self,
                 self.trUtf8("Send bug report"),
                 self.trUtf8(
                     """<p>Message could not be sent.<br>Reason: {0}</p>""")

eric ide

mercurial