banshee r3621 - in trunk/banshee: . src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying



Author: gburt
Date: Mon Mar 31 19:33:06 2008
New Revision: 3621
URL: http://svn.gnome.org/viewvc/banshee?rev=3621&view=rev

Log:
2008-03-31  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs:
	Only pulse Now Playing if the new item is a video and we're not auto
	switching to Now Playing.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs

Modified: trunk/banshee/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs	Mon Mar 31 19:33:06 2008
@@ -72,7 +72,9 @@
                 ServiceManager.SourceManager.SetActiveSource (this);
             }
 
-            OnUserNotifyUpdated ();
+            if ((current_track.MediaAttributes & TrackMediaAttributes.VideoStream) != 0) {
+                OnUserNotifyUpdated ();
+            }
         }
         
         public void Dispose ()



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