eric5_snap.py

changeset 2087
795992a5c561
parent 1770
c17e67e69ef5
child 2302
f29e9405c851
--- a/eric5_snap.py	Mon Oct 01 19:55:49 2012 +0200
+++ b/eric5_snap.py	Tue Oct 02 19:53:31 2012 +0200
@@ -15,13 +15,15 @@
 
 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
 
-from Utilities import Startup
+from Globals import AppInfo
+
+from Toolbox import Startup
 
 
 def createMainWidget(argv):
@@ -43,7 +45,7 @@
         ("--config=configDir",
          "use the given directory as the one containing the config files"),
     ]
-    appinfo = Startup.makeAppInfo(sys.argv,
+    appinfo = AppInfo.makeAppInfo(sys.argv,
                                   "Eric5 Snap",
                                   "",
                                   "Simple utility to do snapshots of the screen.",

eric ide

mercurial