r16958 - in /packages/unstable/system-config-printer/debian: changelog patches/04_jobsheets_traceback.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Fri Sep 12 21:04:30 UTC 2008
Author: joss
Date: Fri Sep 12 21:04:30 2008
New Revision: 16958
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16958
Log:
setPrinterJobSheets, send "none" instead. Don't send anything if
nothing was selected. Closes: #486941, #486580.
Modified:
packages/unstable/system-config-printer/debian/changelog
packages/unstable/system-config-printer/debian/patches/04_jobsheets_traceback.patch
Modified: packages/unstable/system-config-printer/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/changelog?rev=16958&op=diff
==============================================================================
--- packages/unstable/system-config-printer/debian/changelog (original)
+++ packages/unstable/system-config-printer/debian/changelog Fri Sep 12 21:04:30 2008
@@ -4,7 +4,8 @@
+ Updated Catalan translation by David Planella. Closes: #494092.
+ Updated Finnish translation by Esko Arajärvi. Closes: #498106.
* 04_jobsheets_traceback.patch: new patch. Don't send None to
- setPrinterJobSheets, send "none" instead. Closes: #486941, #486580.
+ setPrinterJobSheets, send "none" instead. Don't send anything if
+ nothing was selected. Closes: #486941, #486580.
* Standards version is 3.8.0, no changes.
-- Josselin Mouette <joss at debian.org> Fri, 12 Sep 2008 17:50:55 +0200
Modified: packages/unstable/system-config-printer/debian/patches/04_jobsheets_traceback.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/patches/04_jobsheets_traceback.patch?rev=16958&op=diff
==============================================================================
--- packages/unstable/system-config-printer/debian/patches/04_jobsheets_traceback.patch (original)
+++ packages/unstable/system-config-printer/debian/patches/04_jobsheets_traceback.patch Fri Sep 12 21:04:30 2008
@@ -1,11 +1,12 @@
Index: system-config-printer-1.0.0/cupshelpers.py
===================================================================
--- system-config-printer-1.0.0.orig/cupshelpers.py 2008-09-12 22:52:08.243530986 +0200
-+++ system-config-printer-1.0.0/cupshelpers.py 2008-09-12 22:53:03.556438702 +0200
-@@ -208,6 +208,8 @@
++++ system-config-printer-1.0.0/cupshelpers.py 2008-09-12 22:59:32.355525668 +0200
+@@ -208,6 +208,9 @@
self.connection.setPrinterOpPolicy(self.name, policy)
def setJobSheets(self, start, end):
++ if not (start or end): return
+ if not start: start = "none"
+ if not end: end = "none"
self.connection.setPrinterJobSheets(self.name, start, end)
More information about the pkg-gnome-commits
mailing list