src/eric7/eric7_tray.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
10 This is the main Python script that performs the necessary initialization 10 This is the main Python script that performs the necessary initialization
11 of the system-tray application. This acts as a quickstarter by providing a 11 of the system-tray application. This acts as a quickstarter by providing a
12 context menu to start the eric IDE and the eric tools. 12 context menu to start the eric IDE and the eric tools.
13 """ 13 """
14 14
15 import os
15 import sys 16 import sys
16 import os
17 17
18 SettingsDir = None 18 SettingsDir = None
19 19
20 for arg in sys.argv[:]: 20 for arg in sys.argv[:]:
21 if arg.startswith("--config="): 21 if arg.startswith("--config="):
34 QSettings.Format.IniFormat, QSettings.Scope.UserScope, SettingsDir 34 QSettings.Format.IniFormat, QSettings.Scope.UserScope, SettingsDir
35 ) 35 )
36 sys.argv.remove(arg) 36 sys.argv.remove(arg)
37 37
38 from eric7.Globals import AppInfo 38 from eric7.Globals import AppInfo
39
40 from eric7.Toolbox import Startup 39 from eric7.Toolbox import Startup
41 40
42 41
43 def createMainWidget(argv): 42 def createMainWidget(argv):
44 """ 43 """

eric ide

mercurial