banshee r3853 - in trunk/banshee: . src/Dap/Banshee.Dap/Banshee.Dap



Author: gburt
Date: Wed Apr 30 22:47:25 2008
New Revision: 3853
URL: http://svn.gnome.org/viewvc/banshee?rev=3853&view=rev

Log:
2008-04-30  Gabriel Burt  <gabriel burt gmail com>

	* src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs: Reload the music and video
	child sources after creating them, since Reloads don't happen
	automatically any more.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs

Modified: trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs	(original)
+++ trunk/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs	Wed Apr 30 22:47:25 2008
@@ -93,6 +93,7 @@
         {
             base.Initialize ();
             
+            Expanded = true;
             Properties.SetStringList ("Icon.Name", GetIconNames ());
             Properties.Set<string> ("SourcePropertiesActionLabel", Catalog.GetString ("Device Properties"));
             Properties.Set<OpenPropertiesDelegate> ("SourceProperties.GuiHandler", delegate { 
@@ -149,9 +150,11 @@
             HideStatus ();
             
             ThreadAssist.ProxyToMain (delegate {
-                AddChildSource (new MusicGroupSource (this));
-                AddChildSource (new VideoGroupSource (this));
-                Expanded = true;
+                DatabaseSource src;
+                AddChildSource (src = new MusicGroupSource (this));
+                src.Reload ();
+                AddChildSource (src = new VideoGroupSource (this));
+                src.Reload ();
             });
         }
 



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