diff -r 76daafe10009 -r 6901746220fc eric6/UI/UserInterface.py --- a/eric6/UI/UserInterface.py Sun Jan 03 15:33:39 2021 +0100 +++ b/eric6/UI/UserInterface.py Sun Jan 03 17:49:38 2021 +0100 @@ -50,7 +50,6 @@ import UI.PixmapCache -from E5Network.E5NetworkIcon import E5NetworkIcon from E5Network.E5NetworkProxyFactory import ( E5NetworkProxyFactory, proxyAuthenticationRequired ) @@ -146,7 +145,6 @@ reloadAPIs = pyqtSignal() showMenu = pyqtSignal(str, QMenu) masterPasswordChanged = pyqtSignal(str, str) - onlineStateChanged = pyqtSignal(bool) maxFilePathLen = 100 maxMenuFilePathLen = 75 @@ -3587,11 +3585,6 @@ self.sbVcsMonitorLed = StatusMonitorLedWidget( self.project, self.__statusBar) self.__statusBar.addPermanentWidget(self.sbVcsMonitorLed) - - self.networkIcon = E5NetworkIcon(self.__statusBar) - self.__statusBar.addPermanentWidget(self.networkIcon) - self.networkIcon.onlineStateChanged.connect(self.onlineStateChanged) - self.networkIcon.onlineStateChanged.connect(self.__onlineStateChanged) def __initExternalToolsActions(self): """ @@ -6832,8 +6825,7 @@ """ Public method to check the availability of updates of plug-ins. """ - if self.isOnline(): - self.pluginManager.checkPluginUpdatesAvailable() + self.pluginManager.checkPluginUpdatesAvailable() ################################################################# ## Drag and Drop Support @@ -6994,25 +6986,6 @@ Preferences.syncPreferences() self.shutdownCalled = True return True - - def isOnline(self): - """ - Public method to get the online state. - - @return online state - @rtype bool - """ - return self.networkIcon.isOnline() - - def __onlineStateChanged(self, online): - """ - Private slot handling changes in online state. - - @param online flag indicating the online state - @type bool - """ - if online: - self.performVersionCheck(False) ############################################## ## Below are methods to check for new versions