diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-02 00:29:16 +0000 |
commit | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (patch) | |
tree | ade247e1b6c47fbd7362273f59d3ae4f955587a7 /extra/network-manager-applet | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Mon May 2 00:29:22 UTC 2011
Diffstat (limited to 'extra/network-manager-applet')
-rw-r--r-- | extra/network-manager-applet/nm-applet-0.8.2-libnotify-0.7.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/extra/network-manager-applet/nm-applet-0.8.2-libnotify-0.7.patch b/extra/network-manager-applet/nm-applet-0.8.2-libnotify-0.7.patch deleted file mode 100644 index 54aa473af..000000000 --- a/extra/network-manager-applet/nm-applet-0.8.2-libnotify-0.7.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- src/applet.c -+++ src/applet.c -@@ -58,6 +58,10 @@ - #include <gnome-keyring.h> - #include <libnotify/notify.h> - -+#ifndef NOTIFY_CHECK_VERSION -+#define NOTIFY_CHECK_VERSION(x,y,z) 0 -+#endif -+ - #include "applet.h" - #include "applet-device-wired.h" - #include "applet-device-wifi.h" -@@ -626,12 +630,20 @@ - escaped = utils_escape_notify_message (message); - notify = notify_notification_new (summary, - escaped, -- icon ? icon : GTK_STOCK_NETWORK, -- NULL); -+ icon ? icon : GTK_STOCK_NETWORK -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ ); -+#else -+ , NULL); -+#endif - g_free (escaped); - applet->notification = notify; - -+#if NOTIFY_CHECK_VERSION (0, 7, 0) -+ /* notify_notification_attach_to_status_icon was removed */ -+#else - notify_notification_attach_to_status_icon (notify, applet->status_icon); -+#endif - notify_notification_set_urgency (notify, urgency); - notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT); - |