55 |
55 |
56 from eric7 import Globals, Preferences, Testing, Utilities |
56 from eric7 import Globals, Preferences, Testing, Utilities |
57 from eric7.CondaInterface.Conda import Conda |
57 from eric7.CondaInterface.Conda import Conda |
58 from eric7.Debugger.DebugServer import DebugServer |
58 from eric7.Debugger.DebugServer import DebugServer |
59 from eric7.Debugger.DebugUI import DebugUI |
59 from eric7.Debugger.DebugUI import DebugUI |
|
60 from eric7.EricCore import EricFileSystemWatcher |
60 from eric7.EricGui import EricPixmapCache |
61 from eric7.EricGui import EricPixmapCache |
61 from eric7.EricGui.EricAction import EricAction, createActionGroup |
62 from eric7.EricGui.EricAction import EricAction, createActionGroup |
62 from eric7.EricNetwork.EricNetworkIcon import EricNetworkIcon |
63 from eric7.EricNetwork.EricNetworkIcon import EricNetworkIcon |
63 from eric7.EricNetwork.EricNetworkProxyFactory import ( |
64 from eric7.EricNetwork.EricNetworkProxyFactory import ( |
64 EricNetworkProxyFactory, |
65 EricNetworkProxyFactory, |
8266 Preferences.setUI("ToolbarManagerState", self.toolbarManager.saveState()) |
8267 Preferences.setUI("ToolbarManagerState", self.toolbarManager.saveState()) |
8267 self.__saveCurrentViewProfile(True) |
8268 self.__saveCurrentViewProfile(True) |
8268 Preferences.saveToolGroups(self.toolGroups, self.currentToolGroup) |
8269 Preferences.saveToolGroups(self.toolGroups, self.currentToolGroup) |
8269 Preferences.syncPreferences() |
8270 Preferences.syncPreferences() |
8270 self.shutdownCalled = True |
8271 self.shutdownCalled = True |
|
8272 |
|
8273 # shut down the global file system watcher |
|
8274 EricFileSystemWatcher.instance().shutdown() |
|
8275 |
8271 return True |
8276 return True |
8272 |
8277 |
8273 def isOnline(self): |
8278 def isOnline(self): |
8274 """ |
8279 """ |
8275 Public method to get the online state. |
8280 Public method to get the online state. |