banshee r5084 - in trunk/banshee: . src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea



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

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

	* src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs:
	Patch from Valentin Sawadski removing the Skip button from notifications
	when playing from a radio station (BGO #572971).



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs

Modified: trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs	Fri Feb 27 20:51:30 2009
@@ -405,7 +405,7 @@
                     message, image, notif_area.Widget);
                 nf.Urgency = Urgency.Low;
                 nf.Timeout = 4500;
-                if (interface_action_service.PlaybackActions["NextAction"].Sensitive) {
+                if (!current_track.IsLive && interface_action_service.PlaybackActions["NextAction"].Sensitive) {
                     nf.AddAction ("skip-song", Catalog.GetString("Skip this item"), OnSongSkipped);
                 }
                 nf.Show ();



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