banshee r5024 - trunk/banshee/src/Extensions/Banshee.NotificationArea/Notifications



Author: bratsche
Date: Tue Feb 10 20:20:21 2009
New Revision: 5024
URL: http://svn.gnome.org/viewvc/banshee?rev=5024&view=rev

Log:
Fix

Modified:
   trunk/banshee/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs

Modified: trunk/banshee/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs	Tue Feb 10 20:20:21 2009
@@ -282,7 +282,7 @@
 		}
 
 		public void AddAction (string action, string label, ActionHandler handler) {
-			if (Notifications.Global.Capabilities &&
+			if (Notifications.Global.Capabilities != null &&
 			    Array.IndexOf (Notifications.Global.Capabilities, "actions") > -1) {
 				lock (action_map) {
 					action_map[action] = new ActionTuple (label, handler);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]