Skip to content

Commit cd9c05d

Browse files
committed
Activated Gimias 1.5 templates.
1 parent 08ca2fd commit cd9c05d

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/StartNewModule.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, *args, **kwds):
4747
self.txtGimiasFile = wx.TextCtrl(self, -1, "")
4848
self.btnSelectGimiasFile = wx.Button(self, -1, "...")
4949
self.lblGimiasVersion = wx.StaticText(self, -1, "Gimias version")
50-
self.cmbGimiasVersion = wx.ComboBox(self, -1, choices=["1.4", "1.3"], style=wx.CB_DROPDOWN)
50+
self.cmbGimiasVersion = wx.ComboBox(self, -1, choices=["1.5", "1.4", "1.3"], style=wx.CB_DROPDOWN)
5151
self.static_line_2 = wx.StaticLine(self, -1)
5252
self.btnCreate = wx.Button(self, -1, "Start New Module")
5353

@@ -361,6 +361,7 @@ def _handleError(self, message, error):
361361
break
362362
assert os.path.exists("%s/TemplatePlugin13" % pathToResources), "Template plugin folder for gimias 1.3 not found in: %s" % pathToResources
363363
assert os.path.exists("%s/TemplatePlugin14" % pathToResources), "Template plugin folder for gimias 1.4 not found in: %s" % pathToResources
364+
assert os.path.exists("%s/TemplatePlugin15" % pathToResources), "Template plugin folder for gimias 1.5 not found in: %s" % pathToResources
364365
assert os.path.exists("%s/TemplateLibrary" % pathToResources), "Template library folder not found in: %s" % pathToResources
365366
assert os.path.exists("%s/TemplateThirdParty" % pathToResources), "Template thirdParty folder not found in: %s" % pathToResources
366367

src/StartNewModule.wxg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@
287287
<selection>0</selection>
288288
<disabled>1</disabled>
289289
<choices>
290+
<choice>1.5</choice>
290291
<choice>1.4</choice>
291292
<choice>1.3</choice>
292293
</choices>

tests/CreateNewModuleTests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def testCreatePlugin(self):
121121
projectName = "TestPlugin"
122122
rootForTemplateFiles = "./../resources"
123123
# call method
124-
gimiasVersion = "1.4"
124+
gimiasVersion = "1.5"
125125
CreateNewModule.CreatePlugin(pluginsRoot, projectName,
126126
rootForTemplateFiles, csnToolkitFilePath,
127127
csnGimiasFilePath, gimiasVersion)
@@ -177,7 +177,7 @@ def testCreatePluginWidget(self):
177177
widgetName = "TestWidget"
178178
rootForTemplateFiles = "./../resources"
179179
# call method
180-
gimiasVersion = "1.4"
180+
gimiasVersion = "1.5"
181181
CreateNewModule.CreatePluginWidget(projectRoot, widgetName,
182182
rootForTemplateFiles, gimiasVersion)
183183

0 commit comments

Comments
 (0)