parent
06b922cbf2
commit
99faed15bf
36
duplex-copies.patch
Normal file
36
duplex-copies.patch
Normal file
@ -0,0 +1,36 @@
|
||||
--- 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",
|
@ -6,7 +6,7 @@
|
||||
|
||||
Name: evince
|
||||
Version: 2.23.92
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Document viewer
|
||||
|
||||
License: GPLv2+ and GFDL
|
||||
@ -14,6 +14,7 @@ Group: Applications/Publishing
|
||||
URL: http://www.gnome.org/projects/evince/
|
||||
Source0: http://download.gnome.org/sources/%{name}/2.23/%{name}-%{version}.tar.bz2
|
||||
Patch0: evince-0.6.0-print-error.patch
|
||||
Patch1: duplex-copies.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gtk2-devel >= %{gtk2_version}
|
||||
@ -88,6 +89,7 @@ A backend to let evince display djvu files.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .print-error
|
||||
%patch1 -p0 -b .duplex-copies
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-scrollkeeper \
|
||||
@ -230,6 +232,10 @@ fi
|
||||
%{_libdir}/evince/backends/djvudocument.evince-backend
|
||||
|
||||
%changelog
|
||||
* Fri Sep 12 2008 Marek Kasik <mkasik@redhat.com> - 2.23.92-2
|
||||
- fix duplex printing of copies
|
||||
- upstream bug #455759
|
||||
|
||||
* Tue Sep 9 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
|
||||
- Update to 2.23.92
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user