diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-06-01 18:14:42 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-06-01 18:14:42 +0000 |
commit | 311d0420d77867bdb1066d38743e68e596a17ce5 (patch) | |
tree | a772db16100090d1cbbade0e232d88e39bd631dc /community/balsa/balsa-2.4.8-libnotify-0.7.patch | |
parent | c40a217db5f63be3aa88a32ad77ec93efb40d95c (diff) |
Wed Jun 1 18:14:42 UTC 2011
Diffstat (limited to 'community/balsa/balsa-2.4.8-libnotify-0.7.patch')
-rw-r--r-- | community/balsa/balsa-2.4.8-libnotify-0.7.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/community/balsa/balsa-2.4.8-libnotify-0.7.patch b/community/balsa/balsa-2.4.8-libnotify-0.7.patch deleted file mode 100644 index 0cef7f54a..000000000 --- a/community/balsa/balsa-2.4.8-libnotify-0.7.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- libbalsa/information.c -+++ libbalsa/information.c -@@ -27,6 +27,9 @@ - - #ifdef HAVE_NOTIFY - #include <libnotify/notify.h> -+#ifndef NOTIFY_CHECK_VERSION -+#define NOTIFY_CHECK_VERSION(x,y,z) 0 -+#endif - #include <gtk/gtk.h> - #endif - #include <string.h> -@@ -122,7 +125,11 @@ - g_free(msg); - - note = -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ notify_notification_new("Balsa", escaped->str, icon_str); -+#else - notify_notification_new("Balsa", escaped->str, icon_str, NULL); -+#endif - g_string_free(escaped, TRUE); - - notify_notification_set_timeout(note, 7000); /* 7 seconds */ ---- src/main-window.c -+++ src/main-window.c -@@ -85,6 +85,12 @@ - - #define MAILBOX_DATA "mailbox_data" - -+#ifdef HAVE_NOTIFY -+#ifndef NOTIFY_CHECK_VERSION -+#define NOTIFY_CHECK_VERSION(x,y,z) 0 -+#endif -+#endif -+ - enum { - OPEN_MAILBOX_NODE, - CLOSE_MAILBOX_NODE, -@@ -3406,7 +3412,11 @@ - } else { - num_total = num_new; - balsa_app.main_window->new_mail_note = -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ notify_notification_new("Balsa", NULL, NULL); -+#else - notify_notification_new("Balsa", NULL, NULL, NULL); -+#endif - g_object_add_weak_pointer(G_OBJECT(balsa_app.main_window-> - new_mail_note), - (gpointer) & balsa_app.main_window-> |