summaryrefslogtreecommitdiffstats
path: root/extra/xfce4-power-manager/xfce4-power-manager.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfce4-power-manager/xfce4-power-manager.patch')
-rw-r--r--extra/xfce4-power-manager/xfce4-power-manager.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/xfce4-power-manager/xfce4-power-manager.patch b/extra/xfce4-power-manager/xfce4-power-manager.patch
new file mode 100644
index 000000000..45a9ff13a
--- /dev/null
+++ b/extra/xfce4-power-manager/xfce4-power-manager.patch
@@ -0,0 +1,22 @@
+From 9bc8900b4efef29fdc06331b028c7108df15b856 Mon Sep 17 00:00:00 2001
+From: Nick Schermer <nick@xfce.org>
+Date: Fri, 25 Mar 2011 07:11:33 +0000
+Subject: Don't attach to the status icon if libnotify >= 0.7.
+
+---
+diff --git a/src/xfpm-notify.c b/src/xfpm-notify.c
+index c93a843..311b0fd 100644
+--- a/src/xfpm-notify.c
++++ b/src/xfpm-notify.c
+@@ -233,9 +233,6 @@ xfpm_notify_new_notification_internal (const gchar *title, const gchar *message,
+ #if !NOTIFY_CHECK_VERSION (0, 7, 0)
+ if ( icon )
+ notify_notification_attach_to_status_icon (n, icon);
+-#else
+- if ( icon )
+- notify_notification_attach_to_status_icon (n, icon);
+ #endif
+ #endif
+
+--
+cgit