Avoid traceback in most recent change (bug #878527).

Resolves: rhbz#878527
This commit is contained in:
Tim Waugh 2012-11-21 09:25:44 +00:00
parent 587aba260b
commit cc6fe085c8
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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 <twaugh@redhat.com> 1.3.12-5
* Wed Nov 21 2012 Tim Waugh <twaugh@redhat.com> 1.3.12-6
- Avoid traceback in most recent change (bug #878527).
* Mon Nov 19 2012 Tim Waugh <twaugh@redhat.com> 1.3.12-4