From 8bb5a2e674e5f471ebddee3aefd9470db9813176 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 6 Jan 2010 16:36:52 +0000 Subject: [PATCH] - Set notification timeouts appropriately (bug #550829). --- ...config-printer-notification-timeouts.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 system-config-printer-notification-timeouts.patch diff --git a/system-config-printer-notification-timeouts.patch b/system-config-printer-notification-timeouts.patch new file mode 100644 index 0000000..2e30e17 --- /dev/null +++ b/system-config-printer-notification-timeouts.patch @@ -0,0 +1,19 @@ +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,