diff options
author | Mike Krüger <mkrueger@novell.com> | 2010-03-22 10:38:13 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2010-03-22 10:38:13 +0300 |
commit | b7d0f6c548fa59506836684fd00ebc257ef1107b (patch) | |
tree | 9a00aabba1b1ffdbcbbd8723a2d2feb75444b255 /extras/ValaBinding | |
parent | c7e879b25da203610c9cb30313e1d78f8f802668 (diff) |
* templates/ValaTestFixture.xpt.xml:
* templates/ConsoleValaProject.xpt.xml:
* templates/EmptyValaSourceFile.xft.xml:
* templates/SharedLibraryValaProject.xpt.xml: Fixed 'Bug 589786 - new
vala files don't include the standard header'.
svn path=/trunk/monodevelop/; revision=153965
Diffstat (limited to 'extras/ValaBinding')
5 files changed, 12 insertions, 8 deletions
diff --git a/extras/ValaBinding/ChangeLog b/extras/ValaBinding/ChangeLog index 0c7582d5e1..b76249e449 100644 --- a/extras/ValaBinding/ChangeLog +++ b/extras/ValaBinding/ChangeLog @@ -1,3 +1,11 @@ +2010-03-22 Mike Krüger <mkrueger@novell.com> + + * templates/ValaTestFixture.xpt.xml: + * templates/ConsoleValaProject.xpt.xml: + * templates/EmptyValaSourceFile.xft.xml: + * templates/SharedLibraryValaProject.xpt.xml: Fixed 'Bug + 589786 - new vala files don't include the standard header'. + 2010-03-17 Lluis Sanchez Gual <lluis@novell.com> * ValaBinding.csproj: Flush. diff --git a/extras/ValaBinding/templates/ConsoleValaProject.xpt.xml b/extras/ValaBinding/templates/ConsoleValaProject.xpt.xml index b1182cd5ec..8b9cd20406 100644 --- a/extras/ValaBinding/templates/ConsoleValaProject.xpt.xml +++ b/extras/ValaBinding/templates/ConsoleValaProject.xpt.xml @@ -25,8 +25,7 @@ /> <Files> - <File name = "main.vala"><![CDATA[// project created on ${Date} at ${Time} -using GLib; + <File name = "main.vala" AddStandardHeader ="True"><![CDATA[using GLib; public class HelloVala: GLib.Object { public static int main (string[] args) { diff --git a/extras/ValaBinding/templates/EmptyValaSourceFile.xft.xml b/extras/ValaBinding/templates/EmptyValaSourceFile.xft.xml index f0385e9199..2165c056ca 100644 --- a/extras/ValaBinding/templates/EmptyValaSourceFile.xft.xml +++ b/extras/ValaBinding/templates/EmptyValaSourceFile.xft.xml @@ -14,7 +14,7 @@ </TemplateConfiguration> <TemplateFiles> - <File DefaultExtension=".vala" DefaultName="EmptyValaSourceFile"/> + <File DefaultExtension=".vala" DefaultName="EmptyValaSourceFile" AddStandardHeader ="True"/> </TemplateFiles> <FileOptions/> diff --git a/extras/ValaBinding/templates/SharedLibraryValaProject.xpt.xml b/extras/ValaBinding/templates/SharedLibraryValaProject.xpt.xml index 9ec8d6d629..2b49bf95b0 100644 --- a/extras/ValaBinding/templates/SharedLibraryValaProject.xpt.xml +++ b/extras/ValaBinding/templates/SharedLibraryValaProject.xpt.xml @@ -24,9 +24,7 @@ /> <Files> - <File name = "main.vala"><![CDATA[// project created on ${Date} at ${Time} - -// Library content goes here + <File name = "main.vala" AddStandardHeader ="True"><![CDATA[// Library content goes here ]]></File> </Files> diff --git a/extras/ValaBinding/templates/ValaTestFixture.xpt.xml b/extras/ValaBinding/templates/ValaTestFixture.xpt.xml index d8c69d5d8e..6b802ffd5f 100644 --- a/extras/ValaBinding/templates/ValaTestFixture.xpt.xml +++ b/extras/ValaBinding/templates/ValaTestFixture.xpt.xml @@ -25,8 +25,7 @@ /> <Files> - <File name = "main.vala"><![CDATA[// project created on ${Date} at ${Time} -using GLib; + <File name = "main.vala" AddStandardHeader ="True"><![CDATA[using GLib; public class MyValaTest: GLib.Object { public static void doTest() { |