summaryrefslogtreecommitdiff
path: root/extra/claws-mail-extra-plugins/claws-mail-notification-0.26-libnotify-0.7.patch
blob: efc06a4720891c3b96b72c5f7b83c472f89c04a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -Nur claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_popup.c claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_popup.c
--- claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_popup.c	2009-04-26 03:05:05.000000000 +0200
+++ claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_popup.c	2010-11-12 13:39:02.363909583 +0100
@@ -339,7 +339,7 @@
     break;
   }
 
-  ppopup->notification = notify_notification_new(summary, utf8_str, NULL, NULL);
+  ppopup->notification = notify_notification_new(summary, utf8_str, NULL);
   g_free(utf8_str);
   if(ppopup->notification == NULL) {
     debug_print("Notification Plugin: Failed to create a new "
diff -Nur claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_trayicon.c claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_trayicon.c
--- claws-mail-extra-plugins-3.7.6-orig/notification_plugin-0.25/src/notification_trayicon.c	2010-03-25 09:56:34.000000000 +0100
+++ claws-mail-extra-plugins-3.7.6/notification_plugin-0.25/src/notification_trayicon.c	2010-11-12 13:38:30.809340907 +0100
@@ -589,8 +589,7 @@
   summary  = notification_trayicon_popup_assemble_summary();
   utf8_str = notification_trayicon_popup_assemble_body(msginfo);
 
-  popup.notification = notify_notification_new(summary, utf8_str, NULL, NULL);
-  notify_notification_attach_to_status_icon(popup.notification, trayicon);
+  popup.notification = notify_notification_new(summary, utf8_str, NULL);
 
   g_free(summary);
   g_free(utf8_str);