|
|
|
@ -80,6 +80,15 @@ class Desktop:
|
|
|
|
|
"""Apply templates for user"""
|
|
|
|
|
if self.clTempl:
|
|
|
|
|
self.closeClTemplate()
|
|
|
|
|
|
|
|
|
|
templates_locate = self.clVars.Get('cl_templates_locate')
|
|
|
|
|
self.clVars.Set("cl_template_path",
|
|
|
|
|
map(lambda x:x[1],
|
|
|
|
|
filter(lambda x:x[0] in templates_locate,
|
|
|
|
|
zip(self.clVars.Get('cl_template_location'),
|
|
|
|
|
self.clVars.Get('cl_template_path')))),
|
|
|
|
|
True)
|
|
|
|
|
|
|
|
|
|
self.clTempl = ProgressTemplate(self.setProgress,self.clVars,
|
|
|
|
|
cltObj=False,
|
|
|
|
|
printERROR=self.printERROR,
|
|
|
|
|