[Skencil-commits] r759 - skencil/branches/skencil-0.6/src/Sketch/Base

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 11 10:26:33 CEST 2010


Author: igor_n
Date: 2010-10-11 10:26:32 +0200 (Mon, 11 Oct 2010)
New Revision: 759

Modified:
   skencil/branches/skencil-0.6/src/Sketch/Base/main.py
Log:
global variable initialization fix

Modified: skencil/branches/skencil-0.6/src/Sketch/Base/main.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/Base/main.py	2010-10-11 08:02:53 UTC (rev 758)
+++ skencil/branches/skencil-0.6/src/Sketch/Base/main.py	2010-10-11 08:26:32 UTC (rev 759)
@@ -146,6 +146,9 @@
     application = SketchApplication(filename, options.display,
                                     options.geometry,
                                     run_script = options.run_script)
+    
+    setattr(Sketch.main, 'application', application)
+    
     Sketch.Issue(None, Sketch.const.APP_INITIALIZED, application)
     application.Run()
     application.SavePreferences()



More information about the Skencil-commits mailing list