Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-08-05 07:28:22 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-08-05 07:28:22 (GMT)
commit86cdda753e6a656ce2bafa9d865ffe8b5d58bc0c (patch)
treed57634db53c699537629852801e5e8674a5b9f52
parentf8bb587b9dc25dcd16acf1eb89d2385b3c71d3af (diff)
Use unzipped document when printing. Thanks to Colin Slater
* ps/ps-document.c: (save_page_list): Use unzipped document when printing. Thanks to Colin Slater <kiltedtaco@gmail.com>. Fix for bug 311016.
-rw-r--r--ChangeLog9
-rw-r--r--ps/ps-document.c3
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6feae0d..251a426 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-05 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * ps/ps-document.c: (save_page_list): Use
+ unzipped document when printing. Thanks to
+ Colin Slater <kiltedtaco@gmail.com>. Fix for bug
+ 311016.
+
2005-08-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (update_action_sensitivity):
@@ -14,7 +21,7 @@
* shell/ev-window.c: (save_print_config_to_file):
Copy-paste g_file_set_contents to keep compatibility with gtk 2.6
- Fix for bug 312228
+ Fix for bug 312238
2005-07-31 Christian Persch <chpe@cvs.gnome.org>
diff --git a/ps/ps-document.c b/ps/ps-document.c
index cfd22d9..8935eed 100644
--- a/ps/ps-document.c
+++ b/ps/ps-document.c
@@ -1091,7 +1091,8 @@ save_page_list (PSDocument *document, int *page_list, const char *filename)
FILE *f;
gchar *buf;
- pscopydoc (sink, document->gs_filename, document->doc, page_list);
+ pscopydoc (sink, PS_DOCUMENT_GET_PS_FILE(document),
+ document->doc, page_list);
buf = gtk_gs_doc_sink_get_buffer (sink);