rpms/system-config-printer/F-11 system-config-printer-notification-timeouts.patch, NONE, 1.1 system-config-printer.spec, 1.322, 1.323
Tim Waugh
twaugh at fedoraproject.org
Wed Jan 6 15:46:15 UTC 2010
Author: twaugh
Update of /cvs/pkgs/rpms/system-config-printer/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7986
Modified Files:
system-config-printer.spec
Added Files:
system-config-printer-notification-timeouts.patch
Log Message:
* Wed Jan 6 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-3
- Set notification timeouts appropriately (bug #550829).
system-config-printer-notification-timeouts.patch:
applet.py | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE system-config-printer-notification-timeouts.patch ---
diff -up system-config-printer-1.1.16/applet.py.notification-timeouts system-config-printer-1.1.16/applet.py
--- system-config-printer-1.1.16/applet.py.notification-timeouts 2009-12-22 14:44:19.000000000 +0000
+++ system-config-printer-1.1.16/applet.py 2010-01-06 15:43:24.219409075 +0000
@@ -126,6 +126,7 @@ class NewPrinterNotification(dbus.servic
n = pynotify.Notification (title, text, 'printer')
if "actions" in pynotify.get_server_caps():
n.set_urgency (pynotify.URGENCY_CRITICAL)
+ n.set_timeout (pynotify.EXPIRES_NEVER)
n.add_action ("setup-printer", _("Search"),
lambda x, y:
self.setup_printer (x, y, name, devid))
@@ -182,6 +183,7 @@ class NewPrinterNotification(dbus.servic
if "actions" in pynotify.get_server_caps():
try:
self.packagekit = installpackage.PackageKit ()
+ n.set_timeout (pynotify.EXPIRES_NEVER)
n.add_action ("install-driver", _("Install"),
lambda x, y:
self.install_driver (x, y,
Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/F-11/system-config-printer.spec,v
retrieving revision 1.322
retrieving revision 1.323
diff -u -p -r1.322 -r1.323
--- system-config-printer.spec 6 Jan 2010 15:41:49 -0000 1.322
+++ system-config-printer.spec 6 Jan 2010 15:46:15 -0000 1.323
@@ -20,6 +20,7 @@ Patch2: system-config-printer-driver-pre
Patch3: system-config-printer-foomatic-recommended.patch
Patch4: system-config-printer-jobviewer-exit.patch
Patch5: system-config-printer-npinit-traceback.patch
+Patch6: system-config-printer-notification-timeouts.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: python-devel >= 2.4
@@ -73,6 +74,7 @@ the configuration tool.
%patch3 -p1 -b .foomatic-recommended
%patch4 -p1 -b .jobviewer-exit
%patch5 -p1 -b .npinit-traceback
+%patch6 -p1 -b .notification-timeouts
%build
%configure
@@ -180,6 +182,7 @@ exit 0
%changelog
* Wed Jan 6 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-3
+- Set notification timeouts appropriately (bug #550829).
- Avoid traceback in NewPrinterGUI.init (bug #550442).
- Avoid traceback in on_jobviewer_exit (bug #550437).
More information about the fedora-extras-commits
mailing list