[banshee] [MusicLibrarySource] Make default smart playlists hidden when empty
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [MusicLibrarySource] Make default smart playlists hidden when empty
- Date: Tue, 24 Aug 2010 20:01:24 +0000 (UTC)
commit 685c5aad6356864b2045ee618fd50db0e9b796d2
Author: Gabriel Burt <gabriel burt gmail com>
Date: Tue Aug 24 14:34:55 2010 -0500
[MusicLibrarySource] Make default smart playlists hidden when empty
Will make our default presentation cleaner; only the smart playlists
that have items will be shown.
.../Banshee.Library/MusicLibrarySource.cs | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs b/src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs
index 99d2b7e..60469eb 100644
--- a/src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs
+++ b/src/Core/Banshee.Services/Banshee.Library/MusicLibrarySource.cs
@@ -113,25 +113,26 @@ namespace Banshee.Library
new SmartPlaylistDefinition (
Catalog.GetString ("Favorites"),
Catalog.GetString ("Songs rated four and five stars"),
- "rating>=4"),
+ "rating>=4", true),
new SmartPlaylistDefinition (
Catalog.GetString ("Recent Favorites"),
Catalog.GetString ("Songs listened to often in the past week"),
- "played<\"1 week ago\" playcount>3"),
+ "played<\"1 week ago\" playcount>3", true),
new SmartPlaylistDefinition (
Catalog.GetString ("Recently Added"),
Catalog.GetString ("Songs imported within the last week"),
- "added<\"1 week ago\""),
+ "added<\"1 week ago\"", true),
new SmartPlaylistDefinition (
Catalog.GetString ("Unheard"),
Catalog.GetString ("Songs that have not been played or skipped"),
- "playcount:0 skips:0"),
+ "playcount:0 skips:0", true),
};
private static SmartPlaylistDefinition [] non_default_smart_playlists = new SmartPlaylistDefinition [] {
+
new SmartPlaylistDefinition (
Catalog.GetString ("Neglected Favorites"),
Catalog.GetString ("Favorites not played in over two months"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]