banshee r4015 - in trunk/banshee: . src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4015 - in trunk/banshee: . src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue
- Date: Wed, 28 May 2008 21:21:41 +0000 (UTC)
Author: gburt
Date: Wed May 28 21:21:41 2008
New Revision: 4015
URL: http://svn.gnome.org/viewvc/banshee?rev=4015&view=rev
Log:
2008-05-28 Gabriel Burt <gabriel burt gmail com>
* src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs:
Fix bug with removing all items and the ListView crashing.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs
Modified: trunk/banshee/src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs Wed May 28 21:21:41 2008
@@ -90,6 +90,8 @@
UpdateActions ();
ServiceManager.SourceManager.ActiveSourceChanged += delegate { UpdateActions (); };
+
+ TrackModel.Reloaded += OnTrackModelReloaded;
}
public void Enqueue (string path)
@@ -129,7 +131,10 @@
if (actions_loaded) {
UpdateActions ();
}
-
+ }
+
+ private void OnTrackModelReloaded (object sender, EventArgs args)
+ {
if (Count > 0 && !visible) {
ServiceManager.SourceManager.AddSource (this);
visible = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]