[banshee] DapSource: Put the playlists below the default sources (bgo#671948)
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] DapSource: Put the playlists below the default sources (bgo#671948)
- Date: Wed, 22 Aug 2012 18:41:33 +0000 (UTC)
commit 25128bb6de8ef901446bd3374ccc2c86a3d27e69
Author: Samuel Gyger <samuel gyger at>
Date: Tue Aug 21 23:37:01 2012 +0200
DapSource: Put the playlists below the default sources (bgo#671948)
Music, Video, Podcasts now always come before Playlists
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs b/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
index d4961a3..6b5c969 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs
@@ -211,13 +211,17 @@ namespace Banshee.Dap
}
AddChildSource (music_group_source = new MusicGroupSource (this));
+ // We want the group sources to be on top of the list, with Music first
+ music_group_source.Order = -30;
if (SupportsVideo) {
video_group_source = new VideoGroupSource (this);
+ video_group_source.Order = -20;
}
if (SupportsPodcasts) {
podcast_group_source = new PodcastGroupSource (this);
+ podcast_group_source.Order = -10;
}
BuildPreferences ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]