diff --git a/system-config-printer-misplaced-paren.patch b/system-config-printer-misplaced-paren.patch new file mode 100644 index 0000000..6bdb3ee --- /dev/null +++ b/system-config-printer-misplaced-paren.patch @@ -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'), diff --git a/system-config-printer.spec b/system-config-printer.spec index 0253233..720fb76 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -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 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)