# HG changeset patch # User Edouard Tisserant # Date 1517394068 -3600 # Node ID 99f8cfa80b15f914fe263953893f7c85094c48f9 # Parent 338e2f51b6855bf74266b677a2012a477260d7d3 launcher : move call to ShowSplashScreen and BackgroundInitialization to PreStart() It doesn't change behaviour of launcher in beremiz, but may have some impact on some customizations. Some customizations need to squeeze some bitmap folder init in between app creation and ShowSplashScreen diff -r 338e2f51b685 -r 99f8cfa80b15 Beremiz.py --- a/Beremiz.py Tue Jan 30 16:23:50 2018 +0100 +++ b/Beremiz.py Wed Jan 31 11:21:08 2018 +0100 @@ -124,9 +124,6 @@ if wx.VERSION < (3, 0, 0): wx.InitAllImageHandlers() - self.ShowSplashScreen() - self.BackgroundInitialization() - def BackgroundInitialization(self): self.InitI18n() self.CheckUpdates() @@ -186,6 +183,8 @@ def PreStart(self): self.ProcessCommandLineArgs() self.CreateApplication() + self.ShowSplashScreen() + self.BackgroundInitialization() def MainLoop(self): self.app.MainLoop()