#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Sun, 09 Oct 2016 12:15:43 +0200
changeset 20575 b3f2276a01eb
parent 20574 0826ff286ea3
child 20576 96eacca3debf
#UI_ENHANCEMENT by cg class: StandaloneStartup changed: #start
StandaloneStartup.st
--- a/StandaloneStartup.st	Sun Oct 09 12:12:18 2016 +0200
+++ b/StandaloneStartup.st	Sun Oct 09 12:15:43 2016 +0200
@@ -1065,6 +1065,15 @@
 !
 
 start
+    "this is the default initial entry into a standalone program.
+     It checks for any remaining shared libraries/packages which need to be
+     loaded, looks for any patch-files to be applied
+     and then enters into main.
+     On systems, which allow for the same app to be started for multiple documents
+     (i.e. windows), when clicking on a document), 
+     first check if there is an already running application and tell it to open
+     a window for the new document."
+     
     GenericException handle:[:ex |
         self verboseInfo:'Error during startup:'.
         self verboseInfo:ex description.
@@ -1105,7 +1114,7 @@
             self verboseInfo:'setup Smalltalk'.
         ].
         self setupSmalltalkFromArguments:CommandLineArguments.
-        self main
+        self main:CommandLineArguments
     ].
 
     "Modified: / 04-02-2011 / 00:03:47 / cg"