Removed an obsolete method from HelpWindow. 5_2_x

Sun, 04 Mar 2012 18:15:40 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 04 Mar 2012 18:15:40 +0100
branch
5_2_x
changeset 1692
f67b8b8e372a
parent 1691
0206540483d4
child 1707
033317caabaf

Removed an obsolete method from HelpWindow.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric5.Helpviewer.HelpWindow.html file | annotate | diff | comparison | revisions
Helpviewer/HelpWindow.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Sun Mar 04 13:06:58 2012 +0100
+++ b/Documentation/Help/source.qhp	Sun Mar 04 18:15:40 2012 +0100
@@ -4526,7 +4526,6 @@
       <keyword name="HelpWindow.__showEnginesConfigurationDialog" id="HelpWindow.__showEnginesConfigurationDialog" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showEnginesConfigurationDialog" />
       <keyword name="HelpWindow.__showFeedsManager" id="HelpWindow.__showFeedsManager" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showFeedsManager" />
       <keyword name="HelpWindow.__showForwardMenu" id="HelpWindow.__showForwardMenu" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showForwardMenu" />
-      <keyword name="HelpWindow.__showHistoryMenu" id="HelpWindow.__showHistoryMenu" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showHistoryMenu" />
       <keyword name="HelpWindow.__showIndexWindow" id="HelpWindow.__showIndexWindow" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showIndexWindow" />
       <keyword name="HelpWindow.__showInstallationError" id="HelpWindow.__showInstallationError" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showInstallationError" />
       <keyword name="HelpWindow.__showNetworkMonitor" id="HelpWindow.__showNetworkMonitor" ref="eric5.Helpviewer.HelpWindow.html#HelpWindow.__showNetworkMonitor" />
--- a/Documentation/Source/eric5.Helpviewer.HelpWindow.html	Sun Mar 04 13:06:58 2012 +0100
+++ b/Documentation/Source/eric5.Helpviewer.HelpWindow.html	Sun Mar 04 18:15:40 2012 +0100
@@ -281,9 +281,6 @@
 <td><a href="#HelpWindow.__showForwardMenu">__showForwardMenu</a></td>
 <td>Private slot showing the forwards navigation menu.</td>
 </tr><tr>
-<td><a href="#HelpWindow.__showHistoryMenu">__showHistoryMenu</a></td>
-<td>Private slot called in order to show the history menu.</td>
-</tr><tr>
 <td><a href="#HelpWindow.__showIndexWindow">__showIndexWindow</a></td>
 <td>Private method to show the index window.</td>
 </tr><tr>
@@ -957,11 +954,6 @@
 <b>__showForwardMenu</b>(<i></i>)
 <p>
         Private slot showing the forwards navigation menu.
-</p><a NAME="HelpWindow.__showHistoryMenu" ID="HelpWindow.__showHistoryMenu"></a>
-<h4>HelpWindow.__showHistoryMenu</h4>
-<b>__showHistoryMenu</b>(<i></i>)
-<p>
-        Private slot called in order to show the history menu.
 </p><a NAME="HelpWindow.__showIndexWindow" ID="HelpWindow.__showIndexWindow"></a>
 <h4>HelpWindow.__showIndexWindow</h4>
 <b>__showIndexWindow</b>(<i></i>)
--- a/Helpviewer/HelpWindow.py	Sun Mar 04 13:06:58 2012 +0100
+++ b/Helpviewer/HelpWindow.py	Sun Mar 04 18:15:40 2012 +0100
@@ -1556,22 +1556,6 @@
         """
         QWhatsThis.enterWhatsThisMode()
         
-    def __showHistoryMenu(self):
-        """
-        Private slot called in order to show the history menu.
-        """
-        self.historyMenu.clear()
-        self.historyMenu.addAction(self.clearHistoryAct)
-        self.clearHistoryAct.setData(-1)
-        self.historyMenu.addSeparator()
-        idx = 0
-        for hist in self.mHistory:
-            act = self.historyMenu.addAction(
-                Utilities.compactPath(hist, self.maxMenuFilePathLen))
-            act.setData(idx)
-            idx += 1
-            act.setIcon(HelpWindow.__getWebIcon(QUrl(hist)))
-        
     def __titleChanged(self, browser, title):
         """
         Private slot called to handle a change of s browser's title.

eric ide

mercurial