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



Author: gburt
Date: Tue Jun 24 22:15:44 2008
New Revision: 4197
URL: http://svn.gnome.org/viewvc/banshee?rev=4197&view=rev

Log:
2008-06-24  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs:
	Patch from Sandy Armstrong and Bertrand Lorentz, fixes bug where
	notification popups were no longer showing on track change (BGO #537004).


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	Tue Jun 24 22:15:44 2008
@@ -318,14 +318,9 @@
         private void OnPlayerEvent (PlayerEventArgs args) 
         {
             switch (args.Event) {
-                case PlayerEvent.Iterate:
-                    if (current_track != ServiceManager.PlayerEngine.CurrentTrack) {
-                        current_track = ServiceManager.PlayerEngine.CurrentTrack;
-                        ShowTrackNotification ();
-                    }
-                    break;
                 case PlayerEvent.StartOfStream:
                 case PlayerEvent.TrackInfoUpdated:
+                    current_track = ServiceManager.PlayerEngine.CurrentTrack;
                     ToggleRatingMenuSensitive ();
                     ShowTrackNotification ();
                     break;



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