[anjuta] class-gen: output filename instead of project name before copyright
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] class-gen: output filename instead of project name before copyright
- Date: Wed, 6 Feb 2013 21:10:42 +0000 (UTC)
commit cd536ad145c32b92b6e83e82bb841ba266f47648
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Sun Feb 3 19:19:47 2013 +0100
class-gen: output filename instead of project name before copyright
https://bugzilla.gnome.org/show_bug.cgi?id=693213
plugins/class-gen/templates/cc-header.tpl | 2 +-
plugins/class-gen/templates/cc-source.tpl | 2 +-
plugins/class-gen/templates/go-header.tpl | 2 +-
plugins/class-gen/templates/go-source.tpl | 4 ++--
plugins/class-gen/templates/js-source.tpl | 2 +-
plugins/class-gen/templates/py-source.tpl | 2 +-
plugins/class-gen/templates/vala-source.tpl | 4 ++--
7 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/plugins/class-gen/templates/cc-header.tpl b/plugins/class-gen/templates/cc-header.tpl
index 18710d0..b2fa609 100644
--- a/plugins/class-gen/templates/cc-header.tpl
+++ b/plugins/class-gen/templates/cc-header.tpl
@@ -4,7 +4,7 @@
/* [+INVOKE EMACS-MODELINE MODE="C" \+] */
[+INVOKE START-INDENT\+]
/*
- * [+ProjectName+][+IF (=(get "Headings") "1")+]
+ * [+HeaderFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
diff --git a/plugins/class-gen/templates/cc-source.tpl b/plugins/class-gen/templates/cc-source.tpl
index fcb7367..2d5a927 100644
--- a/plugins/class-gen/templates/cc-source.tpl
+++ b/plugins/class-gen/templates/cc-source.tpl
@@ -4,7 +4,7 @@
/* [+INVOKE EMACS-MODELINE MODE="C" \+] */
[+INVOKE START-INDENT\+]
/*
- * [+ProjectName+][+IF (=(get "Headings") "1")+]
+ * [+SourceFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
diff --git a/plugins/class-gen/templates/go-header.tpl b/plugins/class-gen/templates/go-header.tpl
index aabfb87..8f0656f 100644
--- a/plugins/class-gen/templates/go-header.tpl
+++ b/plugins/class-gen/templates/go-header.tpl
@@ -4,7 +4,7 @@
/* [+INVOKE EMACS-MODELINE MODE="C" \+] */
[+INVOKE START-INDENT\+]
/*
- * [+ProjectName+][+IF (=(get "Headings") "1")+]
+ * [+HeaderFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
diff --git a/plugins/class-gen/templates/go-source.tpl b/plugins/class-gen/templates/go-source.tpl
index ab24c3f..5761e11 100644
--- a/plugins/class-gen/templates/go-source.tpl
+++ b/plugins/class-gen/templates/go-source.tpl
@@ -4,9 +4,9 @@
/* [+INVOKE EMACS-MODELINE MODE="C" \+] */
[+INVOKE START-INDENT\+]
/*
- * [+ProjectName+][+IF (=(get "Headings") "1")+]
+ * [+SourceFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
- *
+ *
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
*/
diff --git a/plugins/class-gen/templates/js-source.tpl b/plugins/class-gen/templates/js-source.tpl
index b83d1d8..1eb5861 100644
--- a/plugins/class-gen/templates/js-source.tpl
+++ b/plugins/class-gen/templates/js-source.tpl
@@ -22,7 +22,7 @@
[+INVOKE START-INDENT\+]
/* [+INVOKE EMACS-MODELINE MODE="javascript" \+] */
/*
- * [+ProjectName+][+IF (=(get "Headings") "1")+]
+ * [+SourceFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
diff --git a/plugins/class-gen/templates/py-source.tpl b/plugins/class-gen/templates/py-source.tpl
index df0bd94..95292b6 100644
--- a/plugins/class-gen/templates/py-source.tpl
+++ b/plugins/class-gen/templates/py-source.tpl
@@ -22,7 +22,7 @@
[+INVOKE START-INDENT\+]
# [+INVOKE EMACS-MODELINE MODE="Python" \+]
#
-# [+ProjectName+][+IF (=(get "Headings") "1")+]
+# [+SourceFile+][+IF (=(get "Headings") "1")+]
# Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
#
[+INVOKE LICENSE-DESCRIPTION PFX="# " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
diff --git a/plugins/class-gen/templates/vala-source.tpl b/plugins/class-gen/templates/vala-source.tpl
index e52c9ed..bb67c9d 100644
--- a/plugins/class-gen/templates/vala-source.tpl
+++ b/plugins/class-gen/templates/vala-source.tpl
@@ -21,8 +21,8 @@
[+INCLUDE (string-append "licenses/" (get "License") ".tpl") \+]
[+INVOKE START-INDENT\+]
/* [+INVOKE EMACS-MODELINE MODE="vala" \+] */
-/* [+ProjectName+][+IF (=(get "Headings") "1")+]
- *
+/*
+ * [+SourceFile+][+IF (=(get "Headings") "1")+]
* Copyright (C) [+(shell "date +%Y")+] [+AuthorName+] <[+AuthorEmail+]>[+ENDIF+]
*
[+INVOKE LICENSE-DESCRIPTION PFX=" * " PROGRAM=(get "ProjectName") OWNER=(get "AuthorName") \+]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]