eric7/WebBrowser/TabManager/TabManagerWidget.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8354
12ebd3934fef
child 8358
144a6b854f70
--- a/eric7/WebBrowser/TabManager/TabManagerWidget.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/WebBrowser/TabManager/TabManagerWidget.py	Sat May 22 18:51:46 2021 +0200
@@ -24,8 +24,8 @@
 import EricNetwork
 from EricNetwork import EricTldExtractor
 
-from E5Gui.E5Application import e5App
-from E5Gui.E5ClickableLabel import E5ClickableLabel
+from E5Gui.EricApplication import ericApp
+from E5Gui.EricClickableLabel import EricClickableLabel
 
 import Utilities
 import UI.PixmapCache
@@ -561,9 +561,9 @@
         Public method to create a status bar icon.
         
         @return generated icon
-        @rtype E5ClickableLabel
+        @rtype EricClickableLabel
         """
-        icon = E5ClickableLabel()
+        icon = EricClickableLabel()
         icon.setPixmap(
             UI.PixmapCache.getPixmap("tabManager").scaled(16, 16))
         icon.setToolTip(self.tr("Show Tab Manager"))
@@ -576,10 +576,10 @@
         Public slot to show the tab manager.
         
         @param icon reference to the clicked icon
-        @type E5ClickableLabel or QAction
+        @type EricClickableLabel or QAction
         """
         window = None
-        if isinstance(icon, E5ClickableLabel):
+        if isinstance(icon, EricClickableLabel):
             window = icon.window()
         elif isinstance(icon, QAction):
             window = icon.parentWidget()
@@ -590,7 +590,7 @@
             
             y = max(0, window.frameGeometry().top() + titleBarHeight + 1)
             
-            desktop = e5App().desktop()
+            desktop = ericApp().desktop()
             desktopGeometry = desktop.availableGeometry(self)
             windowFrameGeometry = window.frameGeometry()
             if (desktopGeometry.width() - windowFrameGeometry.right() - 1 >

eric ide

mercurial