WebBrowser/WebBrowserView.py

changeset 4917
682750cc7bd5
parent 4913
e16573640cb8
child 4924
040e36a60b1b
--- a/WebBrowser/WebBrowserView.py	Sun Apr 03 16:33:37 2016 +0200
+++ b/WebBrowser/WebBrowserView.py	Sun Apr 03 17:07:25 2016 +0200
@@ -424,7 +424,7 @@
     
     def contextMenuEvent(self, evt):
         """
-        Public method called to create a context menu.
+        Protected method called to create a context menu.
         
         This method is overridden from QWebEngineView.
         
@@ -664,7 +664,7 @@
         
         engineName = self.__mw.openSearchManager().currentEngineName()
         if engineName:
-            menu.addAction(self.tr("Search with '{0}'").format(engineName), 
+            menu.addAction(self.tr("Search with '{0}'").format(engineName),
                            self.__searchDefaultRequested)
         
         from .OpenSearch.OpenSearchEngineAction import \
@@ -718,7 +718,6 @@
         @param menu reference to the menu to be populated
         @type QMenu
         """
-        
         menu.addAction(self.__mw.newTabAct)
         menu.addAction(self.__mw.newAct)
         menu.addSeparator()
@@ -1063,11 +1062,8 @@
         """
         Private callback method of __addBookmark().
         
-        @param url URL for the bookmark
-        @type str
-        @param title title for the bookmark
-        @type str
-        @param res result of the JavaScript
+        @param res reference to the result list containing all
+            meta attributes
         @type list
         """
         description = ""

eric ide

mercurial