[gnumeric] store print date
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] store print date
- Date: Thu, 10 Dec 2009 07:36:40 +0000 (UTC)
commit 4e7a617708a6c3226012ec420c74775c6d249840
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Thu Dec 10 00:36:21 2009 -0700
store print date
2009-12-10 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/print.c (gnm_print_sheet): store print date
ChangeLog | 4 ++++
src/print.c | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4c8a413..cdda890 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-10 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * src/print.c (gnm_print_sheet): store print date
+
2009-12-09 Morten Welinder <terra gnome org>
* src/wbc-gtk.c (graph_dim_cancel_idle): New function.
diff --git a/src/print.c b/src/print.c
index 8e4d2e4..ca4e301 100644
--- a/src/print.c
+++ b/src/print.c
@@ -43,6 +43,7 @@
#include <goffice/goffice.h>
#include <gtk/gtk.h>
+#include <gsf/gsf-meta-names.h>
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
@@ -1609,6 +1610,7 @@ gnm_print_sheet (WorkbookControl *wbc, Sheet *sheet,
switch (res) {
case GTK_PRINT_OPERATION_RESULT_APPLY:
gnm_conf_set_print_settings (gtk_print_operation_get_print_settings (print));
+ gnm_insert_meta_date (GO_DOC (sheet->workbook), GSF_META_NAME_PRINT_DATE);
break;
case GTK_PRINT_OPERATION_RESULT_CANCEL:
printing_instance_delete (pi);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]