updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / liferea-ext4 / libnotify.patch
blob1348debf264c82e4973e0b4fde4e443b5a830d22
1 diff -Nur liferea-1.7.4.orig//src/notification/libnotify.c liferea-1.7.4/src/notification/libnotify.c
2 --- liferea-1.7.4.orig/src/notification/libnotify.c 2010-01-16 03:02:12.000000000 -0800
3 +++ liferea-1.7.4/src/notification/libnotify.c 2011-03-18 08:49:29.683334403 -0700
4 @@ -158,7 +158,7 @@
5 // notify_notification_update ( n, node_get_title(node_p), labelText_now_p, NULL);
6 // notify_notification_clear_actions(n);
8 - n = notify_notification_new (node_get_title (node_p), labelText_now_p, NULL, NULL);
9 + n = notify_notification_new (node_get_title (node_p), labelText_now_p, NULL);
11 notify_notification_set_icon_from_pixbuf (n, node_get_icon (node_p));
12 notify_notification_set_category (n, "feed");
13 @@ -173,8 +173,6 @@
14 node_p->id, NULL);
17 - notify_notification_attach_to_status_icon (n, ui_tray_get_status_icon ());
19 if (!notify_notification_show (n, NULL)) {
20 g_warning ("libnotify.c - failed to update notification via libnotify\n");
22 @@ -249,7 +247,7 @@
24 labelSummary_p = g_strdup_printf (ngettext ("%s has %d new / updated headline\n", "%s has %d new / updated headlines\n", item_count),
25 node_get_title (node), item_count);
26 - n = notify_notification_new (_("Feed Update"), labelSummary_p, "liferea", NULL);
27 + n = notify_notification_new (_("Feed Update"), labelSummary_p, "liferea");
28 g_free (labelSummary_p);
30 if (supports_append) {
31 @@ -272,7 +270,6 @@
33 notify_notification_set_category (n, "feed");
35 - notify_notification_attach_to_status_icon (n, ui_tray_get_status_icon ());
37 if (!notify_notification_show (n, NULL))
38 g_warning ("notif_libnotify.c - failed to send notification via libnotify");