banshee r4029 - in trunk/banshee: . src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue



Author: gburt
Date: Thu May 29 22:37:43 2008
New Revision: 4029
URL: http://svn.gnome.org/viewvc/banshee?rev=4029&view=rev

Log:
2008-05-29  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs:
	Fix bug where if the play queue was empty but you double clicked on it, it
	would go recursive/eat all your RAM.  Should fix BGO #535369.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs

Modified: trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs	Thu May 29 22:37:43 2008
@@ -238,6 +238,7 @@
             RemovePlayingTrack ();
             
             if (Count == 0) {
+                ServiceManager.PlaybackController.Source = (ITrackModelSource)ServiceManager.SourceManager.DefaultSource;
                 ServiceManager.PlaybackController.Next (restart);
                 return;
             }



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