summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-06-15 04:18:47 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-06-15 04:18:47 +0800
commit6ecd3fd2341a2c504cacab14287cd28db0ea08e0 (patch)
tree6e2ab3cc6a5b80f477e141928ed1c91cb78c840b /ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c
parent73a6580519b306005f0449fe0fcd1d42a317932d (diff)
downloadmarcuscom-ports-6ecd3fd2341a2c504cacab14287cd28db0ea08e0.tar.gz
marcuscom-ports-6ecd3fd2341a2c504cacab14287cd28db0ea08e0.tar.zst
marcuscom-ports-6ecd3fd2341a2c504cacab14287cd28db0ea08e0.zip
Re-add it, it's same exactly what kwm has put up here for notify API change
before I updated it to 2.9x. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16074 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c')
-rw-r--r--ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c b/ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c
new file mode 100644
index 000000000..51cc104ea
--- /dev/null
+++ b/ports-mgmt/gnome-packagekit/files/patch-src_gpk-hardware.c
@@ -0,0 +1,11 @@
+--- src/gpk-hardware.c.orig 2011-03-07 18:21:23.000000000 +0100
++++ src/gpk-hardware.c 2011-03-07 18:21:32.000000000 +0100
+@@ -183,7 +183,7 @@ gpk_hardware_what_provides_cb (GObject *
+ message = g_strdup_printf ("%s\n\t%s", _("Additional packages can be installed to support this hardware"), package);
+ /* TRANSLATORS: a new bit of hardware has been plugged in */
+ body = g_strdup_printf ("%s", _("New hardware attached"));
+- notification = notify_notification_new (body, message, "help-browser", NULL);
++ notification = notify_notification_new (body, message, "help-browser");
+ notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
+ notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
+ notify_notification_add_action (notification, GPK_HARDWARE_INSTALL_ACTION,