Helpviewer/CookieJar/CookiesExceptionsDialog.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3345
071afe8be2a1
child 3656
441956d8fce5
--- a/Helpviewer/CookieJar/CookiesExceptionsDialog.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Helpviewer/CookieJar/CookiesExceptionsDialog.py	Thu Apr 03 23:05:31 2014 +0200
@@ -35,9 +35,9 @@
         
         self.__cookieJar = cookieJar
         
-        self.removeButton.clicked[()].connect(
+        self.removeButton.clicked.connect(
             self.exceptionsTable.removeSelected)
-        self.removeAllButton.clicked[()].connect(
+        self.removeAllButton.clicked.connect(
             self.exceptionsTable.removeAll)
         
         self.exceptionsTable.verticalHeader().hide()
@@ -63,7 +63,7 @@
             if section == 0:
                 header = fm.width("averagebiglonghost.averagedomain.info")
             elif section == 1:
-                header = fm.width(self.trUtf8("Allow For Session"))
+                header = fm.width(self.tr("Allow For Session"))
             buffer = fm.width("mm")
             header += buffer
             self.exceptionsTable.horizontalHeader()\

eric ide

mercurial