eric5_editor.py

changeset 2087
795992a5c561
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
--- a/eric5_editor.py	Mon Oct 01 19:55:49 2012 +0200
+++ b/eric5_editor.py	Tue Oct 02 19:53:31 2012 +0200
@@ -17,9 +17,9 @@
 
 for arg in sys.argv:
     if arg.startswith("--config="):
-        import Utilities
+        import Globals
         configDir = arg.replace("--config=", "")
-        Utilities.setConfigDir(configDir)
+        Globals.setConfigDir(configDir)
         sys.argv.remove(arg)
         break
 
@@ -29,7 +29,9 @@
 except ImportError:
     sys.path.insert(2, os.path.join(os.path.dirname(__file__), "ThirdParty", "Pygments"))
 
-from Utilities import Startup
+from Globals import AppInfo
+
+from Toolbox import Startup
 
 
 def createMainWidget(argv):
@@ -55,7 +57,7 @@
          "use the given directory as the one containing the config files"),
         ("", "name of file to edit")
     ]
-    appinfo = Startup.makeAppInfo(sys.argv,
+    appinfo = AppInfo.makeAppInfo(sys.argv,
                                   "Eric5 Editor",
                                   "",
                                   "Simplified version of the eric5 editor",

eric ide

mercurial