banshee r5053 - in trunk/banshee: . src/Extensions/Banshee.NotificationArea/Notifications



Author: blorentz
Date: Fri Feb 20 21:27:06 2009
New Revision: 5053
URL: http://svn.gnome.org/viewvc/banshee?rev=5053&view=rev

Log:
2009-02-20  Bertrand Lorentz  <bertrand lorentz gmail com>

	* src/Extensions/Banshee.NotificationArea/Notifications/Notification.cs:
	Fix compilation of the in-tree notify-sharp.



Modified:
   trunk/banshee/ChangeLog
   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	Fri Feb 20 21:27:06 2009
@@ -282,8 +282,8 @@
 		}
 
 		public void AddAction (string action, string label, ActionHandler handler) {
-			if (Notifications.Global.Capabilities != null &&
-			    Array.IndexOf (Notifications.Global.Capabilities, "actions") > -1) {
+			if (nf.Capabilities != null &&
+			    Array.IndexOf (nf.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]