banshee r3853 - in trunk/banshee: . src/Dap/Banshee.Dap/Banshee.Dap
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3853 - in trunk/banshee: . src/Dap/Banshee.Dap/Banshee.Dap
- Date: Wed, 30 Apr 2008 23:47:26 +0100 (BST)
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]