[anjuta] project-wizard: Remove restriction on project directory name (the new project backend support this)



commit e42d4d8624eb3be34437ac92f7585e16a1cebba7
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Thu May 5 22:17:40 2011 +0200

    project-wizard: Remove restriction on project directory name (the new project backend support this)

 .../project-wizard/templates/anjuta-plugin.wiz.in  |    2 +-
 plugins/project-wizard/templates/cpp.wiz.in        |    2 +-
 plugins/project-wizard/templates/gcj.wiz.in        |    2 +-
 plugins/project-wizard/templates/gtk.wiz.in        |    2 +-
 .../project-wizard/templates/gtkapplication.wiz.in |    2 +-
 plugins/project-wizard/templates/gtkmm.wiz.in      |    2 +-
 plugins/project-wizard/templates/java.wiz.in       |    2 +-
 plugins/project-wizard/templates/library.wiz.in    |    2 +-
 plugins/project-wizard/templates/minimal.wiz.in    |    2 +-
 plugins/project-wizard/templates/pygtk.wiz.in      |    2 +-
 plugins/project-wizard/templates/python.wiz.in     |    2 +-
 plugins/project-wizard/templates/sdl.wiz.in        |    2 +-
 plugins/project-wizard/templates/terminal.wiz.in   |    2 +-
 plugins/project-wizard/templates/vala-gtk.wiz.in   |    2 +-
 plugins/project-wizard/templates/wxwin.wiz.in      |    2 +-
 plugins/project-wizard/templates/xlib-dock.wiz.in  |    2 +-
 plugins/project-wizard/templates/xlib.wiz.in       |    2 +-
 17 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/plugins/project-wizard/templates/anjuta-plugin.wiz.in b/plugins/project-wizard/templates/anjuta-plugin.wiz.in
index 8cfeb40..8505e6c 100644
--- a/plugins/project-wizard/templates/anjuta-plugin.wiz.in
+++ b/plugins/project-wizard/templates/anjuta-plugin.wiz.in
@@ -19,7 +19,7 @@
 	</page>
 
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/cpp.wiz.in b/plugins/project-wizard/templates/cpp.wiz.in
index 2431632..81783ea 100644
--- a/plugins/project-wizard/templates/cpp.wiz.in
+++ b/plugins/project-wizard/templates/cpp.wiz.in
@@ -17,7 +17,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/gcj.wiz.in b/plugins/project-wizard/templates/gcj.wiz.in
index c0dcd14..5020367 100644
--- a/plugins/project-wizard/templates/gcj.wiz.in
+++ b/plugins/project-wizard/templates/gcj.wiz.in
@@ -20,7 +20,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/gtk.wiz.in b/plugins/project-wizard/templates/gtk.wiz.in
index 9e9a8ad..91b27f6 100644
--- a/plugins/project-wizard/templates/gtk.wiz.in
+++ b/plugins/project-wizard/templates/gtk.wiz.in
@@ -19,7 +19,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/gtkapplication.wiz.in b/plugins/project-wizard/templates/gtkapplication.wiz.in
index 738ea76..dfe7d80 100644
--- a/plugins/project-wizard/templates/gtkapplication.wiz.in
+++ b/plugins/project-wizard/templates/gtkapplication.wiz.in
@@ -19,7 +19,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/gtkmm.wiz.in b/plugins/project-wizard/templates/gtkmm.wiz.in
index 728f0ab..d826eb5 100644
--- a/plugins/project-wizard/templates/gtkmm.wiz.in
+++ b/plugins/project-wizard/templates/gtkmm.wiz.in
@@ -19,7 +19,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/java.wiz.in b/plugins/project-wizard/templates/java.wiz.in
index c67987a..1c0a85c 100644
--- a/plugins/project-wizard/templates/java.wiz.in
+++ b/plugins/project-wizard/templates/java.wiz.in
@@ -20,7 +20,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/library.wiz.in b/plugins/project-wizard/templates/library.wiz.in
index 289f23d..eace9b9 100644
--- a/plugins/project-wizard/templates/library.wiz.in
+++ b/plugins/project-wizard/templates/library.wiz.in
@@ -18,7 +18,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/minimal.wiz.in b/plugins/project-wizard/templates/minimal.wiz.in
index 64a7a28..8575a83 100644
--- a/plugins/project-wizard/templates/minimal.wiz.in
+++ b/plugins/project-wizard/templates/minimal.wiz.in
@@ -18,7 +18,7 @@
 	</page>
 
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type='directory' name='Destination' _label='Destination:' _description='' default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory='yes' exist='no' restriction='directory' summary='yes'/>
+		<property type='directory' name='Destination' _label='Destination:' _description='' default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory='yes' exist='no' summary='yes'/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/pygtk.wiz.in b/plugins/project-wizard/templates/pygtk.wiz.in
index 0dc821e..58be8b9 100644
--- a/plugins/project-wizard/templates/pygtk.wiz.in
+++ b/plugins/project-wizard/templates/pygtk.wiz.in
@@ -21,7 +21,7 @@
     </page>
 
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/python.wiz.in b/plugins/project-wizard/templates/python.wiz.in
index a5a680b..f461823 100644
--- a/plugins/project-wizard/templates/python.wiz.in
+++ b/plugins/project-wizard/templates/python.wiz.in
@@ -19,7 +19,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/sdl.wiz.in b/plugins/project-wizard/templates/sdl.wiz.in
index b319e54..58c326c 100644
--- a/plugins/project-wizard/templates/sdl.wiz.in
+++ b/plugins/project-wizard/templates/sdl.wiz.in
@@ -23,7 +23,7 @@
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/terminal.wiz.in b/plugins/project-wizard/templates/terminal.wiz.in
index 8037cb6..4c77c86 100644
--- a/plugins/project-wizard/templates/terminal.wiz.in
+++ b/plugins/project-wizard/templates/terminal.wiz.in
@@ -18,7 +18,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/vala-gtk.wiz.in b/plugins/project-wizard/templates/vala-gtk.wiz.in
index ee2b848..d1f03c2 100644
--- a/plugins/project-wizard/templates/vala-gtk.wiz.in
+++ b/plugins/project-wizard/templates/vala-gtk.wiz.in
@@ -20,7 +20,7 @@
 	</page>
 	
 	<page name="options" _label="Project options" _description="Options for project build system">
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/wxwin.wiz.in b/plugins/project-wizard/templates/wxwin.wiz.in
index 6d070cf..ca46812 100644
--- a/plugins/project-wizard/templates/wxwin.wiz.in
+++ b/plugins/project-wizard/templates/wxwin.wiz.in
@@ -22,7 +22,7 @@
 		<property type="hidden" name="NameCUpper" default='[+(string->c-name! (string-substitute (string-upcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/xlib-dock.wiz.in b/plugins/project-wizard/templates/xlib-dock.wiz.in
index 23191b4..6bf706d 100644
--- a/plugins/project-wizard/templates/xlib-dock.wiz.in
+++ b/plugins/project-wizard/templates/xlib-dock.wiz.in
@@ -25,7 +25,7 @@
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
 		<property type="hidden" name="HavePackage" default="1"/>
 		<property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>
diff --git a/plugins/project-wizard/templates/xlib.wiz.in b/plugins/project-wizard/templates/xlib.wiz.in
index ed50741..a75abe2 100644
--- a/plugins/project-wizard/templates/xlib.wiz.in
+++ b/plugins/project-wizard/templates/xlib.wiz.in
@@ -25,7 +25,7 @@
 		<property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
 		<property type="hidden" name="HavePackage" default="1"/>
 		<property type="hidden" name="PackageModule1" default="gtk+-2.0 libglade-2.0"/>
-		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" restriction="directory" summary="yes"/>
+		<property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
 		<property type="list" name="License" _label="License" _description="Select code license" default="GPL" editable="no">
 			<item name="GPL" _label="General Public License (GPL)"/>
 			<item name="LGPL" _label="Lesser General Public License (LGPL)"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]