[banshee] [MaemoDevice] Set 'Music' and 'Video' as the default folders
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [MaemoDevice] Set 'Music' and 'Video' as the default folders
- Date: Fri, 2 Apr 2010 14:57:48 +0000 (UTC)
commit 51066b4578488f8b91f7d5a6f0403d4ea873e623
Author: Jeroen Budts <jeroen lightyear be>
Date: Fri Apr 2 15:51:50 2010 +0200
[MaemoDevice] Set 'Music' and 'Video' as the default folders
Also set 'Playlists' as the default playlist folder. This should be a
better fix for bgo#614226 and bgo#611043.
.../Banshee.Dap.MassStorage/MaemoDevice.cs | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MaemoDevice.cs b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MaemoDevice.cs
index 61361da..ef1ff89 100644
--- a/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MaemoDevice.cs
+++ b/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MaemoDevice.cs
@@ -78,19 +78,21 @@ namespace Banshee.Dap.MassStorage
};
private static string [] audio_folders = new string [] {
- ".videos/",
- "Music/"
+ "Music/",
+ ".videos/"
};
private static string [] video_folders = new string [] {
- ".videos/",
- "Video/"
+ "Video/",
+ ".videos/"
};
private static string [] icon_names = new string [] {
"phone-nokia-n900", DapSource.FallbackIcon
};
+ private static string playlists_path = "Playlists/";
+
public override void SourceInitialize ()
{
@@ -138,6 +140,10 @@ namespace Banshee.Dap.MassStorage
get { return playlist_formats; }
}
+ protected override string DefaultPlaylistPath {
+ get { return playlists_path; }
+ }
+
public override string [] GetIconNames ()
{
return icon_names;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]