diff --git a/system-config-printer-FirewallD.patch b/system-config-printer-FirewallD.patch index f71cee3..c9db999 100644 --- a/system-config-printer-FirewallD.patch +++ b/system-config-printer-FirewallD.patch @@ -392,7 +392,7 @@ diff -up system-config-printer-1.3.12/printerproperties.py.FirewallD system-conf + def sensitise_new_printer_widgets (self, sensitive=True): + sensitive = (sensitive and -+ self.printer and ++ self.printer != None and + not (self.printer.discovered or + bool (self.changed))) + for button in [self.btnChangePPD, diff --git a/system-config-printer.spec b/system-config-printer.spec index 19f5ddd..c3c4608 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -1,7 +1,7 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.3.12 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base @@ -175,7 +175,7 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris exit 0 %changelog -* Tue Nov 20 2012 Tim Waugh 1.3.12-5 +* Wed Nov 21 2012 Tim Waugh 1.3.12-6 - Avoid traceback in most recent change (bug #878527). * Mon Nov 19 2012 Tim Waugh 1.3.12-4