eric6_tray.py

changeset 3670
f0cb7579c0b4
parent 3669
ac84ac3c0f05
child 3778
0c5bc18da740
equal deleted inserted replaced
3669:ac84ac3c0f05 3670:f0cb7579c0b4
3 3
4 # Copyright (c) 2006 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2006 - 2014 Detlev Offenbach <detlev@die-offenbachs.de>
5 # 5 #
6 6
7 """ 7 """
8 Eric5 Tray. 8 Eric6 Tray.
9 9
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 eric5 IDE and the eric5 tools. 12 context menu to start the eric6 IDE and the eric6 tools.
13 """ 13 """
14 14
15 from __future__ import unicode_literals 15 from __future__ import unicode_literals
16 try: # Only for Py2 16 try: # Only for Py2
17 import Utilities.compatibility_fixes # __IGNORE_WARNING__ 17 import Utilities.compatibility_fixes # __IGNORE_WARNING__
51 options = [ 51 options = [
52 ("--config=configDir", 52 ("--config=configDir",
53 "use the given directory as the one containing the config files"), 53 "use the given directory as the one containing the config files"),
54 ] 54 ]
55 appinfo = AppInfo.makeAppInfo(sys.argv, 55 appinfo = AppInfo.makeAppInfo(sys.argv,
56 "Eric5 Tray", 56 "Eric6 Tray",
57 "", 57 "",
58 "Traystarter for eric5", 58 "Traystarter for eric6",
59 options) 59 options)
60 res = Startup.simpleAppStartup(sys.argv, 60 res = Startup.simpleAppStartup(sys.argv,
61 appinfo, 61 appinfo,
62 createMainWidget, 62 createMainWidget,
63 quitOnLastWindowClosed=False, 63 quitOnLastWindowClosed=False,

eric ide

mercurial