rpms/system-config-printer/F-12 system-config-printer-serial-widgets.patch, NONE, 1.1 system-config-printer.spec, 1.347, 1.348

Tim Waugh twaugh at fedoraproject.org
Mon Jan 18 17:05:55 UTC 2010


Author: twaugh

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

Modified Files:
	system-config-printer.spec 
Added Files:
	system-config-printer-serial-widgets.patch 
Log Message:
* Mon Jan 18 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-9
- Make sure serial device widgets are always initialized (bug #556488).


system-config-printer-serial-widgets.patch:
 system-config-printer.py |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE system-config-printer-serial-widgets.patch ---
diff -up system-config-printer-1.1.16/system-config-printer.py.serial-widgets system-config-printer-1.1.16/system-config-printer.py
--- system-config-printer-1.1.16/system-config-printer.py.serial-widgets	2010-01-18 17:01:04.326559283 +0000
+++ system-config-printer-1.1.16/system-config-printer.py	2010-01-18 17:01:24.700559444 +0000
@@ -5949,6 +5949,9 @@ class NewPrinterGUI(GtkGUI):
                                     break
                                 iter = model.iter_next(iter)
                                 nr += 1
+
+                            if not iter:
+                                widget.set_active (0)
                         else: # use optionvalues
                             nr = optionvalues.index(
                                 option_dict[name])


Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/F-12/system-config-printer.spec,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -p -r1.347 -r1.348
--- system-config-printer.spec	18 Jan 2010 17:02:57 -0000	1.347
+++ system-config-printer.spec	18 Jan 2010 17:05:55 -0000	1.348
@@ -29,6 +29,7 @@ Patch11: system-config-printer-copy-cras
 Patch12: system-config-printer-check-still-connecting.patch
 Patch13: system-config-printer-async-fallback.patch
 Patch14: system-config-printer-userdefault-traceback.patch
+Patch15: system-config-printer-serial-widgets.patch
 
 Patch101: pycups-request-readio.patch
 
@@ -104,6 +105,7 @@ printers.
 %patch12 -p1 -b .check-still-connecting
 %patch13 -p1 -b .async-fallback
 %patch14 -p1 -b .userdefault-traceback
+%patch15 -p1 -b .serial-widgets
 
 pushd pycups-%{pycups_version}
 %patch101 -p1 -b .request-readio
@@ -225,6 +227,7 @@ exit 0
 
 %changelog
 * Mon Jan 18 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-9
+- Make sure serial device widgets are always initialized (bug #556488).
 - Handle errors more gracefully in userdefault.py (bug #556345).
 - Don't rely on cups-pk-helper being around (bug #556170).
 - Avoid traceback when checking on connecting backends (bug #555552).



More information about the scm-commits mailing list