Helpviewer/UrlBar/FavIconLabel.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 978
11f8adbcac97
--- a/Helpviewer/UrlBar/FavIconLabel.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Helpviewer/UrlBar/FavIconLabel.py	Fri Mar 11 16:51:57 2011 +0100
@@ -12,11 +12,12 @@
 
 import Helpviewer.HelpWindow
 
+
 class FavIconLabel(QLabel):
     """
     Class implementing the label to show the web site icon.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -77,7 +78,7 @@
             mimeData = QMimeData()
             title = self.__browser.title()
             if title == "":
-                title = str(self.__browser.url().toEncoded(), encoding = "utf-8")
+                title = str(self.__browser.url().toEncoded(), encoding="utf-8")
             mimeData.setText(title)
             mimeData.setUrls([self.__browser.url()])
             p = self.pixmap()

eric ide

mercurial