[gnumeric] Include version number in HTML export.



commit 8a1ccea9e9344a1bb4f0b1996ce0913d73b8ab94
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date:   Sun May 9 19:12:52 2010 -0600

     Include version number in HTML export.
    
    2010-05-09  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* html.c (html_file_save): include the real version number
    	  (rather than the macro name that should become the version)

 NEWS                   |    3 +++
 plugins/html/ChangeLog |    5 +++++
 plugins/html/html.c    |    6 +++---
 3 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 5d6b8d4..34035a9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 Gnumeric 1.10.4
 
+Andreas:
+	* Include version number in HTML export.
+ 
 --------------------------------------------------------------------------
 Gnumeric 1.10.3
 
diff --git a/plugins/html/ChangeLog b/plugins/html/ChangeLog
index cbc2391..28e5777 100644
--- a/plugins/html/ChangeLog
+++ b/plugins/html/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-09  Andreas J. Guelzow <aguelzow pyrshep ca>
+
+	* html.c (html_file_save): include the real version number
+	  (rather than the macro name that should become the version)
+
 2010-05-07  Morten Welinder <terra gnome org>
 
 	* Release 1.10.3
diff --git a/plugins/html/html.c b/plugins/html/html.c
index 3dc2e9e..9573c14 100644
--- a/plugins/html/html.c
+++ b/plugins/html/html.c
@@ -662,7 +662,7 @@ html_file_save (GOFileSaver const *fs, GOIOContext *io_context,
 "<html>\n"
 "<head>\n\t<title>Tables</title>\n"
 "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n"
-"\t<!-- \"G_PLUGIN_FOR_HTML\" -->\n"
+"<meta name=\"generator\" content=\"Gnumeric " GNM_VERSION_FULL  " via " G_PLUGIN_FOR_HTML "\">\n"
 "<style><!--\n"
 "tt {\n"
 "\tfont-family: courier;\n"
@@ -685,7 +685,7 @@ html_file_save (GOFileSaver const *fs, GOIOContext *io_context,
 "<html>\n"
 "<head>\n\t<title>Tables</title>\n"
 "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n"
-"\t<!-- \"G_PLUGIN_FOR_HTML\" -->\n"
+"<meta name=\"generator\" content=\"Gnumeric " GNM_VERSION_FULL  " via " G_PLUGIN_FOR_HTML "\">\n"
 "<style type=\"text/css\">\n"
 "tt {\n"
 "\tfont-family: courier;\n"
@@ -708,7 +708,7 @@ html_file_save (GOFileSaver const *fs, GOIOContext *io_context,
 "<html xmlns=\"http://www.w3.org/1999/xhtml\"; xml:lang=\"en\" lang=\"en\">\n"
 "<head>\n\t<title>Tables</title>\n"
 "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n"
-"\t<!-- \"G_PLUGIN_FOR_HTML\" -->\n"
+"<meta name=\"generator\" content=\"Gnumeric " GNM_VERSION_FULL  " via " G_PLUGIN_FOR_HTML "\" />\n"
 "<style type=\"text/css\">\n"
 "tt {\n"
 "\tfont-family: courier;\n"



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