Helpviewer/Bookmarks/BookmarkPropertiesDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
--- a/Helpviewer/Bookmarks/BookmarkPropertiesDialog.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/Bookmarks/BookmarkPropertiesDialog.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog to show and edit bookmark properties.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QDialog
 
 from .Ui_BookmarkPropertiesDialog import Ui_BookmarkPropertiesDialog
@@ -22,7 +24,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(BookmarkPropertiesDialog, self).__init__(parent)
         self.setupUi(self)
         
         from .BookmarkNode import BookmarkNode
@@ -44,7 +46,7 @@
         if (self.__node.type() == BookmarkNode.Bookmark and \
             not self.addressEdit.text()) or \
            not self.nameEdit.text():
-            super().accept()
+            super(BookmarkPropertiesDialog, self).accept()
             return
         
         import Helpviewer.HelpWindow
@@ -61,4 +63,4 @@
             self.__node.desc = description
             bookmarksManager.setNodeChanged(self.__node)
         
-        super().accept()
+        super(BookmarkPropertiesDialog, self).accept()

eric ide

mercurial