Helpviewer/SiteInfo/SiteInfoDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3060
5883ce99ee12
--- a/Helpviewer/SiteInfo/SiteInfoDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Helpviewer/SiteInfo/SiteInfoDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -206,10 +206,12 @@
             return
         
         menu = QMenu()
-        act = menu.addAction(self.trUtf8("Copy Image Location to Clipboard"),
+        act = menu.addAction(
+            self.trUtf8("Copy Image Location to Clipboard"),
             self.__copyAction)
         act.setData(itm.text(1))
-        act = menu.addAction(self.trUtf8("Copy Image Name to Clipboard"),
+        act = menu.addAction(
+            self.trUtf8("Copy Image Name to Clipboard"),
             self.__copyAction)
         act.setData(itm.text(0))
         menu.addSeparator()
@@ -246,7 +248,8 @@
         else:
             cacheData = None
         if not cacheData:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Save Image"),
                 self.trUtf8("""This image is not available."""))
             return
@@ -266,7 +269,8 @@
         
         f = QFile(filename)
         if not f.open(QFile.WriteOnly):
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Save Image"),
                 self.trUtf8(
                     """<p>Cannot write to file <b>{0}</b>.</p>""")

eric ide

mercurial