Fixed a bug in UserInterface.py caused by a redefined method.

Sun, 24 Jan 2010 19:10:23 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Jan 2010 19:10:23 +0000
changeset 84
277c4d00cfd6
parent 83
b302c5816c1c
child 85
2d80c7a3e773

Fixed a bug in UserInterface.py caused by a redefined method.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric5.UI.UserInterface.html file | annotate | diff | comparison | revisions
UI/UserInterface.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Sun Jan 24 10:30:22 2010 +0000
+++ b/Documentation/Help/source.qhp	Sun Jan 24 19:10:23 2010 +0000
@@ -3869,6 +3869,7 @@
       <keyword name="UserInterface.__sqlBrowser" id="UserInterface.__sqlBrowser" ref="eric5.UI.UserInterface.html#UserInterface.__sqlBrowser" />
       <keyword name="UserInterface.__sslErrors" id="UserInterface.__sslErrors" ref="eric5.UI.UserInterface.html#UserInterface.__sslErrors" />
       <keyword name="UserInterface.__startToolProcess" id="UserInterface.__startToolProcess" ref="eric5.UI.UserInterface.html#UserInterface.__startToolProcess" />
+      <keyword name="UserInterface.__startWebBrowser" id="UserInterface.__startWebBrowser" ref="eric5.UI.UserInterface.html#UserInterface.__startWebBrowser" />
       <keyword name="UserInterface.__switchTab" id="UserInterface.__switchTab" ref="eric5.UI.UserInterface.html#UserInterface.__switchTab" />
       <keyword name="UserInterface.__toggleBottomSidebar" id="UserInterface.__toggleBottomSidebar" ref="eric5.UI.UserInterface.html#UserInterface.__toggleBottomSidebar" />
       <keyword name="UserInterface.__toggleBrowser" id="UserInterface.__toggleBrowser" ref="eric5.UI.UserInterface.html#UserInterface.__toggleBrowser" />
--- a/Documentation/Source/eric5.UI.UserInterface.html	Sun Jan 24 10:30:22 2010 +0000
+++ b/Documentation/Source/eric5.UI.UserInterface.html	Sun Jan 24 19:10:23 2010 +0000
@@ -490,6 +490,9 @@
 <td><a href="#UserInterface.__startToolProcess">__startToolProcess</a></td>
 <td>Private slot to start an external tool process.</td>
 </tr><tr>
+<td><a href="#UserInterface.__startWebBrowser">__startWebBrowser</a></td>
+<td>Private slot to start a web browser executable.</td>
+</tr><tr>
 <td><a href="#UserInterface.__switchTab">__switchTab</a></td>
 <td>Private slot used to switch between the current and the previous current tab.</td>
 </tr><tr>
@@ -1493,6 +1496,16 @@
 <dd>
 list of tool entries
 </dd>
+</dl><a NAME="UserInterface.__startWebBrowser" ID="UserInterface.__startWebBrowser"></a>
+<h4>UserInterface.__startWebBrowser</h4>
+<b>__startWebBrowser</b>(<i>home = None</i>)
+<p>
+        Private slot to start a web browser executable.
+</p><dl>
+<dt><i>home</i></dt>
+<dd>
+full pathname of a file to display (string)
+</dd>
 </dl><a NAME="UserInterface.__switchTab" ID="UserInterface.__switchTab"></a>
 <h4>UserInterface.__switchTab</h4>
 <b>__switchTab</b>(<i></i>)
--- a/UI/UserInterface.py	Sun Jan 24 10:30:22 2010 +0000
+++ b/UI/UserInterface.py	Sun Jan 24 19:10:23 2010 +0000
@@ -1799,7 +1799,7 @@
             """<b>Web Browser</b>"""
             """<p>Browse the Internet with the eric5 Web Browser.</p>"""
         ))
-        self.connect(self.webBrowserAct, SIGNAL('triggered()'), self.__webBrowser)
+        self.connect(self.webBrowserAct, SIGNAL('triggered()'), self.__startWebBrowser)
         self.actions.append(self.webBrowserAct)
 
         self.iconEditorAct = E5Action(self.trUtf8('Icon Editor'),
@@ -3942,7 +3942,7 @@
         """
         self.__assistant(version = 4)
     
-    def __webBrowser(self, home = None):
+    def __startWebBrowser(self, home = None):
         """
         Private slot to start a web browser executable.
         

eric ide

mercurial