rpms/system-config-printer/F-11 system-config-printer-short-lived-states.patch, NONE, 1.1 system-config-printer.spec, 1.314, 1.315
Tim Waugh
twaugh at fedoraproject.org
Wed Dec 9 10:54:56 UTC 2009
- Previous message (by thread): rpms/thunderbird/devel .cvsignore, 1.30, 1.31 sources, 1.37, 1.38 thunderbird.spec, 1.156, 1.157
- Next message (by thread): rpms/system-config-printer/F-12 system-config-printer-short-lived-states.patch, NONE, 1.1 system-config-printer.spec, 1.324, 1.325
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/pkgs/rpms/system-config-printer/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18313
Modified Files:
system-config-printer.spec
Added Files:
system-config-printer-short-lived-states.patch
Log Message:
* Wed Dec 9 2009 Tim Waugh <twaugh at redhat.com> - 1.1.15-7
- Fixed jobviewer traceback with short-lived state reasons (bug #545733).
system-config-printer-short-lived-states.patch:
jobviewer.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--- NEW FILE system-config-printer-short-lived-states.patch ---
diff -up system-config-printer-1.1.15/jobviewer.py.short-lived-states system-config-printer-1.1.15/jobviewer.py
--- system-config-printer-1.1.15/jobviewer.py.short-lived-states 2009-11-30 12:43:08.000000000 +0000
+++ system-config-printer-1.1.15/jobviewer.py 2009-12-09 10:53:20.936016882 +0000
@@ -1430,7 +1430,13 @@ class JobViewer (GtkGUI, monitor.Watcher
try:
notification = self.state_reason_notifications[tuple]
if notification.get_data ('closed') != True:
- notification.close ()
+ try:
+ notification.close ()
+ except glib.GError:
+ # Can fail if the notification wasn't even shown
+ # yet (as in bug #545733).
+ pass
+
del self.state_reason_notifications[tuple]
self.set_statusicon_visibility ()
except KeyError:
Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/F-11/system-config-printer.spec,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -p -r1.314 -r1.315
--- system-config-printer.spec 8 Dec 2009 14:02:02 -0000 1.314
+++ system-config-printer.spec 9 Dec 2009 10:54:56 -0000 1.315
@@ -7,7 +7,7 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.1.15
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2+
URL: http://cyberelk.net/tim/software/system-config-printer/
Group: System Environment/Base
@@ -20,6 +20,7 @@ Patch2: system-config-printer-browsepoll
Patch3: system-config-printer-cupsd.conf-parser.patch
Patch4: system-config-printer-troubleshooter-traceback.patch
Patch5: system-config-printer-lpd-uri.patch
+Patch6: system-config-printer-short-lived-states.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: python-devel >= 2.4
@@ -73,6 +74,7 @@ the configuration tool.
%patch3 -p1 -b .cupsd.conf-parser
%patch4 -p1 -b .troubleshooter-traceback
%patch5 -p1 -b .lpd-uri
+%patch6 -p1 -b .short-lived-states
%build
%configure
@@ -175,6 +177,9 @@ rm -rf %buildroot
exit 0
%changelog
+* Wed Dec 9 2009 Tim Waugh <twaugh at redhat.com> - 1.1.15-7
+- Fixed jobviewer traceback with short-lived state reasons (bug #545733).
+
* Tue Dec 8 2009 Tim Waugh <twaugh at redhat.com> - 1.1.15-6
- Fixed traceback with short lpd device URIs (bug #545397).
- Previous message (by thread): rpms/thunderbird/devel .cvsignore, 1.30, 1.31 sources, 1.37, 1.38 thunderbird.spec, 1.156, 1.157
- Next message (by thread): rpms/system-config-printer/F-12 system-config-printer-short-lived-states.patch, NONE, 1.1 system-config-printer.spec, 1.324, 1.325
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list