• R/O
  • SSH
  • HTTPS

smart-gs: Commit


Commit MetaInfo

Revision1196 (tree)
Time2016-10-05 10:51:39
Authorshayashi

Log Message

Default file の extension のチェックを gsx2 に変更

Change Summary

Incremental Difference

--- branches/editor-simplyhtml-merge/src/smart_gs/menu/DirectorySettingWindow.java (revision 1195)
+++ branches/editor-simplyhtml-merge/src/smart_gs/menu/DirectorySettingWindow.java (revision 1196)
@@ -19,6 +19,7 @@
1919
2020 import jp.ac.nii.hcp.shared.model.HCPProject;
2121 import smart_gs.SmartGS;
22+import smart_gs.debugprint.Debugprint;
2223 import smart_gs.logical.Preference;
2324 import smart_gs.menu.action.DefaultFileTypeSwitchChangeListener;
2425 import smart_gs.menu.action.SetCurrentDirectoryAction;
@@ -330,10 +331,8 @@
330331 warningMessage += "Default GS File Path Warnig: both of \\ and / present.\n";
331332 }
332333
333- if (!(defaultGsFilePathString.endsWith(".gs")
334- || defaultGsFilePathString.endsWith(".gsx")
335- || defaultGsFilePathString.equals(""))) {
336- errorMessage += "Default GS File Name Error: must ends with \".gs\" or \".gsx\".\n";
334+ if (! defaultGsFilePathString.endsWith(".gsx2")) {
335+ errorMessage += "Default GS File Name Error: must ends with \".gsx2\".\n";
337336 }
338337
339338 if (rWBackgroundFileCondition == false) {
Show on old repository browser