Fixed misplaced parenthesis (bug #979119).

Resolves: rhbz#979119
This commit is contained in:
Tim Waugh 2013-07-02 12:57:07 +01:00
parent 752fb1e069
commit 7b6faad2a1
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -up system-config-printer-1.4.1/jobviewer.py.misplaced-paren system-config-printer-1.4.1/jobviewer.py
--- system-config-printer-1.4.1/jobviewer.py.misplaced-paren 2013-07-02 12:54:47.487847459 +0100
+++ system-config-printer-1.4.1/jobviewer.py 2013-07-02 12:56:17.649270440 +0100
@@ -1953,7 +1953,7 @@ class JobViewer (GtkGUI):
if notify_text.find ("backend errors") != -1:
message = (_("There was a problem sending document `%s' "
"(job %d) to the printer.") %
- (document.encode ('utf-8', jobid)))
+ (document.encode ('utf-8'), jobid))
elif notify_text.find ("filter errors") != -1:
message = _("There was a problem processing document `%s' "
"(job %d).") % (document.encode ('utf-8'),

View File

@ -27,6 +27,7 @@ Patch18: system-config-printer-statusicon-geometry.patch
Patch19: system-config-printer-remote-missing.patch
Patch20: system-config-printer-rename-race.patch
Patch21: system-config-printer-utf8-978970.patch
Patch22: system-config-printer-misplaced-paren.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: desktop-file-utils >= 0.2.92
@ -136,6 +137,9 @@ printers.
# Fixed another codec issue (bug #978970).
%patch21 -p1 -b .utf8-978970
# Fixed misplaced parenthesis (bug #979119).
%patch22 -p1 -b .misplaced-paren
%build
%configure --with-udev-rules
@ -236,6 +240,7 @@ exit 0
%changelog
* Tue Jul 2 2013 Tim Waugh <twaugh@redhat.com> 1.4.1-8
- Fixed misplaced parenthesis (bug #979119).
- Fixed another codec issue (bug #978970).
- Avoid race when renaming printer (bug #975705).
- Don't check for missing drivers in remote printers (bug #975058)