[banshee/stable-1.6] [MaemoDevice] Set 'Music' and 'Video' as the default folders
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/stable-1.6] [MaemoDevice] Set 'Music' and 'Video' as the default folders
- Date: Sun, 11 Apr 2010 16:13:42 +0000 (UTC)
commit f253e9407eb4d8e0813ec092c6024aa7a99b5f8a
Author: Jeroen Budts <jeroen lightyear be>
Date: Sun Apr 11 17:50:36 2010 +0200
[MaemoDevice] Set 'Music' and 'Video' as the default folders
Also ignore the .sounds directory and set 'Playlists' as the default
playlist folder. Fixes bgo#614226 and bgo#611043.
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
.../Banshee.Dap.MassStorage/MaemoDevice.cs | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 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 11871ac..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,20 +78,21 @@ namespace Banshee.Dap.MassStorage
};
private static string [] audio_folders = new string [] {
- ".sounds/",
- ".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 ()
{
@@ -139,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]