99faed15bf
- upstream bug #455759
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
--- shell/ev-window.c 2008-09-12 14:11:56.000000000 +0200
|
|
+++ shell/ev-window.c 2008-09-12 17:07:00.000000000 +0200
|
|
@@ -2283,8 +2283,6 @@ ev_window_print_send (EvWindow *windo
|
|
|
|
gtk_print_settings_set_page_ranges (settings, NULL, 0);
|
|
gtk_print_settings_set_print_pages (settings, GTK_PRINT_PAGES_ALL);
|
|
- if (capabilities & EV_FILE_EXPORTER_CAN_COPIES)
|
|
- gtk_print_settings_set_n_copies (settings, 1);
|
|
if (capabilities & EV_FILE_EXPORTER_CAN_PAGE_SET)
|
|
gtk_print_settings_set_page_set (settings, GTK_PAGE_SET_ALL);
|
|
if (capabilities & EV_FILE_EXPORTER_CAN_SCALE)
|
|
@@ -2371,7 +2369,6 @@ ev_window_print_dialog_response_cb (GtkD
|
|
EvPrintRange *ranges = NULL;
|
|
EvPrintPageSet page_set;
|
|
gint n_ranges = 0;
|
|
- gint copies;
|
|
gint pages_per_sheet;
|
|
gboolean collate;
|
|
gboolean reverse;
|
|
@@ -2477,7 +2474,6 @@ ev_window_print_dialog_response_cb (GtkD
|
|
|
|
pages_per_sheet = gtk_print_settings_get_number_up (window->priv->print_settings);
|
|
|
|
- copies = gtk_print_settings_get_n_copies (window->priv->print_settings);
|
|
collate = gtk_print_settings_get_collate (window->priv->print_settings);
|
|
reverse = gtk_print_settings_get_reverse (window->priv->print_settings);
|
|
|
|
@@ -2487,7 +2483,7 @@ ev_window_print_dialog_response_cb (GtkD
|
|
ranges, n_ranges,
|
|
page_set,
|
|
pages_per_sheet,
|
|
- copies, collate,
|
|
+ 1, collate,
|
|
reverse);
|
|
|
|
g_signal_connect (window->priv->print_job, "finished",
|