From: Anthony Geay Date: Sat, 19 Feb 2022 06:42:23 +0000 (+0100) Subject: Start of management of foreground in SSL context X-Git-Tag: V9_9_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fagy%2F29134;p=modules%2Fgui.git Start of management of foreground in SSL context --- diff --git a/src/SalomeApp/salome_pluginsmanager.py b/src/SalomeApp/salome_pluginsmanager.py index 25276d441..94dcfe75d 100644 --- a/src/SalomeApp/salome_pluginsmanager.py +++ b/src/SalomeApp/salome_pluginsmanager.py @@ -244,8 +244,13 @@ class PluginsManager: def importPlugins(self): """Execute the salome_plugins file that contains plugins definition """ + ior_fake_ns = None + prefix_ior = "--iorfakens=" + presence_ior = [elt for elt in QApplication.arguments() if elt[:len(prefix_ior)]==prefix_ior] + if any(presence_ior): + ior_fake_ns = presence_ior[-1][len(prefix_ior):] if self.lasttime ==0 or salome.myStudy == None: - salome.salome_init(embedded=True) + salome.salome_init(embedded=True,iorfakensfile=ior_fake_ns) lasttime=0