commit 3d422a5bc6c0bffc1605f45a90289900b4f4991e
Author: Jensen Somers <jensen.somers@gmail.com>
Date:   Wed Sep 2 19:38:21 2009 +0200

    BGO #593307 - Always show all sections from DAP devices.

diff --git a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs
index ca5e3a9..dd24366 100644
--- a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs
+++ b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/AndroidDevice.cs
@@ -81,7 +81,7 @@ namespace Banshee.Dap.MassStorage
             amazon_base_dir = System.IO.Path.Combine (Source.Volume.MountPoint, audio_folders[1]);
             
             amazon_source = new AmazonMp3GroupSource (Source, "amazonmp3", amazon_base_dir);
-            amazon_source.AutoHide = true;
+            amazon_source.AutoHide = false;
         }
         
         public override bool LoadDeviceConfiguration ()
diff --git a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/WebOSDevice.cs b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/WebOSDevice.cs
index 9b3b103..9aad3c8 100644
--- a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/WebOSDevice.cs
+++ b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/WebOSDevice.cs
@@ -106,10 +106,10 @@ namespace Banshee.Dap.MassStorage
             amazon_base_dir = System.IO.Path.Combine (Source.Volume.MountPoint, audio_folders[3]);
 
             amazon_source = new AmazonMp3GroupSource (Source, "AmazonMP3", amazon_base_dir);
-            amazon_source.AutoHide = true;
+            amazon_source.AutoHide = false;
 
             ringtones_source = new RingtonesGroupSource (Source);
-            ringtones_source.AutoHide = true;
+            ringtones_source.AutoHide = false;
         }
 
         public override bool LoadDeviceConfiguration ()
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs b/src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs
index 324fa48..5b0f3d1 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/MediaGroupSource.cs
@@ -72,9 +72,9 @@ namespace Banshee.Dap
             if (parent != null) {
                 parent.RaiseUpdated ();
             }
-            
+
+            bool contains_me = parent.ContainsChildSource (this);
             if (AutoHide) {
-                bool contains_me = parent.ContainsChildSource (this);
                 int count = Count;
                 
                 if (count == 0 && contains_me) {
@@ -82,7 +82,12 @@ namespace Banshee.Dap
                 } else if (count > 0 && !contains_me) {
                     parent.AddChildSource (this);
                 }
+            } else {
+                if (!contains_me) {
+                    parent.AddChildSource (this);
+                }
             }
+            
         }
 
         /*public override bool AcceptsInputFromSource (Source source)
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/PodcastGroupSource.cs b/src/Dap/Banshee.Dap/Banshee.Dap/PodcastGroupSource.cs
index 8740628..dbe2e5c 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/PodcastGroupSource.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/PodcastGroupSource.cs
@@ -40,7 +40,7 @@ namespace Banshee.Dap
             Properties.Remove ("Icon.Name");
             Properties.SetStringList ("Icon.Name", "podcast");
             ConditionSql = String.Format ("(CoreTracks.Attributes & {0}) != 0", (int)TrackMediaAttributes.Podcast);
-            AutoHide = true;
+            AutoHide = false;
         }
     }
 }
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/VideoGroupSource.cs b/src/Dap/Banshee.Dap/Banshee.Dap/VideoGroupSource.cs
index e6bd8d7..a6ac466 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/VideoGroupSource.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/VideoGroupSource.cs
@@ -40,7 +40,7 @@ namespace Banshee.Dap
             Properties.Remove ("Icon.Name");
             Properties.SetStringList ("Icon.Name", Banshee.ServiceStack.ServiceManager.SourceManager.VideoLibrary.Properties.GetStringList ("Icon.Name"));
             ConditionSql = Banshee.ServiceStack.ServiceManager.SourceManager.VideoLibrary.AttributesCondition;
-            AutoHide = true;
+            AutoHide = false;
         }
     }
 }
