[gedit] Changed old environment variables to new ones
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit] Changed old environment variables to new ones
- Date: Fri, 22 May 2009 18:58:42 -0400 (EDT)
commit f7d80e97e50fbbeb13a10b3b7322f000d1f6dd3d
Author: Jesse van den Kieboom <jesse icecrew nl>
Date: Sat May 23 00:58:34 2009 +0200
Changed old environment variables to new ones
---
plugins/snippets/data/c.xml | 4 ++--
plugins/snippets/data/chdr.xml | 4 ++--
plugins/snippets/data/cpp.xml | 4 ++--
plugins/snippets/data/snippets.xml | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/plugins/snippets/data/c.xml b/plugins/snippets/data/c.xml
index 7f98b9c..ec0b80e 100644
--- a/plugins/snippets/data/c.xml
+++ b/plugins/snippets/data/c.xml
@@ -2,7 +2,7 @@
<snippets language="C">
<snippet id="gpl">
<text><![CDATA[/*
- * ${1:[$GEDIT_BASENAME,<filename>]}
+ * ${1:[$GEDIT_CURRENT_DOCUMENT_NAME,<filename>]}
* This file is part of ${2:<program name>}
*
* Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4:
@@ -34,7 +34,7 @@ except KeyError:
</snippet>
<snippet id="lgpl">
<text><![CDATA[/*
- * ${1:[$GEDIT_BASENAME,<filename>]}
+ * ${1:[$GEDIT_CURRENT_DOCUMENT_NAME,<filename>]}
* This file is part of ${2:<library name>}
*
* Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4:
diff --git a/plugins/snippets/data/chdr.xml b/plugins/snippets/data/chdr.xml
index aed357e..83647c0 100644
--- a/plugins/snippets/data/chdr.xml
+++ b/plugins/snippets/data/chdr.xml
@@ -34,7 +34,7 @@ $0]]></text>
</snippet>
<snippet id="gpl">
<text><![CDATA[/*
- * ${1:[$GEDIT_BASENAME,<filename>]}
+ * ${1:[$GEDIT_CURRENT_DOCUMENT_NAME,<filename>]}
* This file is part of ${2:<program name>}
*
* Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4:
@@ -66,7 +66,7 @@ except KeyError:
</snippet>
<snippet id="lgpl">
<text><![CDATA[/*
- * ${1:[$GEDIT_BASENAME,<filename>]}
+ * ${1:[$GEDIT_CURRENT_DOCUMENT_NAME,<filename>]}
* This file is part of ${2:<library name>}
*
* Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4:
diff --git a/plugins/snippets/data/cpp.xml b/plugins/snippets/data/cpp.xml
index dd5090a..7c7ccab 100644
--- a/plugins/snippets/data/cpp.xml
+++ b/plugins/snippets/data/cpp.xml
@@ -105,7 +105,7 @@ $0]]></text>
</snippet>
<snippet id="gpl">
<text><![CDATA[/*
- * ${1:[$GEDIT_BASENAME,<filename>]}
+ * ${1:[$GEDIT_CURRENT_DOCUMENT_NAME,<filename>]}
* This file is part of ${2:<program name>}
*
* Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4:
@@ -137,7 +137,7 @@ except KeyError:
</snippet>
<snippet id="lgpl">
<text><![CDATA[/*
- * ${1:[$GEDIT_BASENAME,<filename>]}
+ * ${1:[$GEDIT_CURRENT_DOCUMENT_NAME,<filename>]}
* This file is part of ${2:<library name>}
*
* Copyright (C) $<3: import datetime; return str(datetime.date.today().year)> - $<4:
diff --git a/plugins/snippets/data/snippets.xml b/plugins/snippets/data/snippets.xml
index e7b6007..d55cb43 100644
--- a/plugins/snippets/data/snippets.xml
+++ b/plugins/snippets/data/snippets.xml
@@ -26,12 +26,12 @@
<tag>regex</tag>
</snippet>
<snippet id="$-FILENAME">
- <text><![CDATA[\$GEDIT_FILENAME]]></text>
+ <text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_PATH]]></text>
<description>Gedit Filename Variable</description>
<tag>$</tag>
</snippet>
<snippet id="$-BASENAME">
- <text><![CDATA[\$GEDIT_BASENAME]]></text>
+ <text><![CDATA[\$GEDIT_CURRENT_DOCUMENT_NAME]]></text>
<description>Gedit Basename Variable</description>
<tag>$</tag>
</snippet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]