From 86b713edd35b159a5e72a30b938be1338b87eaaa Mon Sep 17 00:00:00 2001 From: caremoli Date: Fri, 28 Jan 2011 12:48:29 +0000 Subject: [PATCH] CCAR: fix resources directory name in SalomeApp.xml file (always lower case) --- module_generator/gener.py | 4 ++-- module_generator/gui_tmpl.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module_generator/gener.py b/module_generator/gener.py index 4fc94e5..6a85bd7 100644 --- a/module_generator/gener.py +++ b/module_generator/gener.py @@ -601,7 +601,7 @@ echo " Qt ..................... : $qt_ok" if not os.path.exists(os.path.join(namedir, "src", self.module.name+"GUI", "SalomeApp.xml")): #create a minimal SalomeApp.xml - salomeapp=pysalomeapp.substitute(module=self.module.name) + salomeapp=pysalomeapp.substitute(module=self.module.name,lmodule=self.module.name.lower()) d["SalomeApp.xml"]=salomeapp return d @@ -630,7 +630,7 @@ echo " Qt ..................... : $qt_ok" if not os.path.exists(os.path.join(namedir, "src", self.module.name+"GUI", "SalomeApp.xml")): #create a minimal SalomeApp.xml - salomeapp=cppsalomeapp.substitute(module=self.module.name) + salomeapp=cppsalomeapp.substitute(module=self.module.name,lmodule=self.module.name.lower()) d["SalomeApp.xml"]=salomeapp return d diff --git a/module_generator/gui_tmpl.py b/module_generator/gui_tmpl.py index 2cc897b..4f2b7a4 100644 --- a/module_generator/gui_tmpl.py +++ b/module_generator/gui_tmpl.py @@ -22,7 +22,7 @@ pysalomeapp="""
- +
""" @@ -58,7 +58,7 @@ cppsalomeapp="""
- +
""" -- 2.39.2