142 if SSL_AVAILABLE: |
142 if SSL_AVAILABLE: |
143 self.__sslErrorHandler = E5SslErrorHandler(self) |
143 self.__sslErrorHandler = E5SslErrorHandler(self) |
144 self.__networkManager.sslErrors.connect(self.__sslErrors) |
144 self.__networkManager.sslErrors.connect(self.__sslErrors) |
145 self.__replies = [] |
145 self.__replies = [] |
146 |
146 |
147 self.__ui.onlineStateChanged.connect(self.__onlineStateChanged) |
147 try: |
|
148 self.__ui.onlineStateChanged.connect(self.__onlineStateChanged) |
|
149 except AttributeError: |
|
150 # it was not called from eric |
|
151 pass |
148 |
152 |
149 def finalizeSetup(self): |
153 def finalizeSetup(self): |
150 """ |
154 """ |
151 Public method to finalize the setup of the plugin manager. |
155 Public method to finalize the setup of the plugin manager. |
152 """ |
156 """ |