rpms/system-config-printer/devel system-config-printer-bug507489.patch, NONE, 1.1 system-config-printer.spec, 1.262, 1.263

Tim Waugh twaugh at fedoraproject.org
Tue Jun 23 11:30:58 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/system-config-printer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25639

Modified Files:
	system-config-printer.spec 
Added Files:
	system-config-printer-bug507489.patch 
Log Message:
* Tue Jun 23 2009 Tim Waugh <twaugh at redhat.com> 1.1.8-2
- Fixed traceback when adding/modifying printer which could lead to
  display bugs (bug #507489).


system-config-printer-bug507489.patch:

--- NEW FILE system-config-printer-bug507489.patch ---
diff -up system-config-printer-1.1.8/system-config-printer.py.bug507489 system-config-printer-1.1.8/system-config-printer.py
--- system-config-printer-1.1.8/system-config-printer.py.bug507489	2009-06-17 18:39:51.000000000 +0100
+++ system-config-printer-1.1.8/system-config-printer.py	2009-06-23 12:23:49.888572438 +0100
@@ -6644,6 +6644,11 @@ class NewPrinterGUI(GtkGUI):
 
             iter = model.iter_next (iter)
 
+        # Load information about the printer,
+        # e.g. self.mainapp.server_side_options and self.mainapp.ppd
+        # (both used below).
+        self.mainapp.fillPrinterTab (name)
+
         if check:
             try:
                 self.checkDriverExists (name, ppd=checkppd)


Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -p -r1.262 -r1.263
--- system-config-printer.spec	18 Jun 2009 16:46:36 -0000	1.262
+++ system-config-printer.spec	23 Jun 2009 11:30:57 -0000	1.263
@@ -7,13 +7,14 @@
 Summary: A printer administration tool
 Name: system-config-printer
 Version: 1.1.8
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 URL: http://cyberelk.net/tim/software/system-config-printer/
 Group: System Environment/Base
 Source0: http://cyberelk.net/tim/data/system-config-printer/1.1/system-config-printer-%{version}.tar.bz2
 Source1: http://cyberelk.net/tim/data/pycups/pycups-%{pycups_version}.tar.bz2
 Source2: http://cyberelk.net/tim/data/pysmbc/pysmbc-%{pysmbc_version}.tar.bz2
+Patch1: system-config-printer-bug507489.patch
 
 BuildRequires: cups-devel >= 1.2
 BuildRequires: python-devel >= 2.4
@@ -63,6 +64,7 @@ the configuration tool.
 
 %prep
 %setup -q -a 1 -a 2
+%patch1 -p1 -b .bug507489
 
 %build
 %configure
@@ -165,6 +167,10 @@ rm -rf %buildroot
 exit 0
 
 %changelog
+* Tue Jun 23 2009 Tim Waugh <twaugh at redhat.com> 1.1.8-2
+- Fixed traceback when adding/modifying printer which could lead to
+  display bugs (bug #507489).
+
 * Thu Jun 18 2009 Tim Waugh <twaugh at redhat.com> 1.1.8-1
 - Updated pycups to 1.9.46.
 - Updated to 1.1.8:




More information about the fedora-extras-commits mailing list