Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2006-11-08 11:53:13 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2006-11-08 11:53:13 (GMT)
commitd47bc2205d248b34dbfcdd349473f54d45d5ec70 (patch)
tree09acc2c692095e1a62a0ca554dddc9b46d0e2a32
parent9b63de3075666797c9b3dabd08567e7f8f0651c4 (diff)
Enable print to a PDF. Fixes bug #332121.
2006-11-08 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-window.c: (ev_window_print_range): Enable print to a PDF. Fixes bug #332121.
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-window.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d22f7cb..7c1ac93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-11-08 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-window.c: (ev_window_print_range):
+
+ Enable print to a PDF. Fixes bug #332121.
+
2006-10-31 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-application-service.xml:
diff --git a/shell/ev-window.c b/shell/ev-window.c
index dd8ae81..dcf687e 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -1682,7 +1682,8 @@ ev_window_print_range (EvWindow *ev_window, int first_page, int last_page)
GTK_PRINT_CAPABILITY_COLLATE |
GTK_PRINT_CAPABILITY_REVERSE |
GTK_PRINT_CAPABILITY_SCALE |
- GTK_PRINT_CAPABILITY_GENERATE_PS);
+ GTK_PRINT_CAPABILITY_GENERATE_PS |
+ GTK_PRINT_CAPABILITY_GENERATE_PDF);
gtk_print_unix_dialog_set_current_page (GTK_PRINT_UNIX_DIALOG (dialog),
current_page);