summaryrefslogtreecommitdiffstats
path: root/xfce4-power-manager/xfce4-power-manager.patch
blob: 45a9ff13a3f0f8204079d802bef782f1bf117d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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