WebBrowser/WebBrowserWindow.py

changeset 5768
6f4d7d02cb1e
parent 5746
6ccc43d9faf0
child 5777
2c4441d65ee3
--- a/WebBrowser/WebBrowserWindow.py	Sun Jun 25 14:15:48 2017 +0200
+++ b/WebBrowser/WebBrowserWindow.py	Sun Jun 25 16:17:00 2017 +0200
@@ -1916,6 +1916,7 @@
         menu.addAction(self.closeAllAct)
         menu.addSeparator()
         menu.addAction(self.exitAct)
+        self.addActions(menu.actions())
         
         menu = mb.addMenu(self.tr('&Edit'))
         menu.addAction(self.undoAct)
@@ -1931,6 +1932,7 @@
         menu.addAction(self.findAct)
         menu.addAction(self.findNextAct)
         menu.addAction(self.findPrevAct)
+        self.addActions(menu.actions())
         
         menu = mb.addMenu(self.tr('&View'))
         menu.addAction(self.stopAct)
@@ -1951,6 +1953,7 @@
         menu.addSeparator()
         menu.addAction(self.pageSourceAct)
         menu.addAction(self.fullScreenAct)
+        self.addActions(menu.actions())
         
         from .History.HistoryMenu import HistoryMenu
         self.historyMenu = HistoryMenu(self, self.__tabWidget)
@@ -1967,6 +1970,7 @@
         historyActions.append(self.forwardAct)
         historyActions.append(self.homeAct)
         self.historyMenu.setInitialActions(historyActions)
+        self.addActions(historyActions)
         
         from .Bookmarks.BookmarksMenu import BookmarksMenuBarMenu
         self.bookmarksMenu = BookmarksMenuBarMenu(self)
@@ -2058,6 +2062,7 @@
         menu.addAction(self.aboutQtAct)
         menu.addSeparator()
         menu.addAction(self.whatsThisAct)
+        self.addActions(menu.actions())
     
     def __initSuperMenu(self):
         """

eric ide

mercurial