[banshee] Added the comment search filter (bgo#380524)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] Added the comment search filter (bgo#380524)
- Date: Sat, 12 Sep 2009 09:17:37 +0000 (UTC)
commit 5bba20a6267ac0d14d6aadc041f69205be56b3a4
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sat Sep 12 19:15:36 2009 +1000
Added the comment search filter (bgo#380524)
src/Clients/Nereid/Nereid/ViewContainer.cs | 1 +
.../Banshee.Collection/TrackFilterType.cs | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid/ViewContainer.cs b/src/Clients/Nereid/Nereid/ViewContainer.cs
index 515e96a..4cebd42 100644
--- a/src/Clients/Nereid/Nereid/ViewContainer.cs
+++ b/src/Clients/Nereid/Nereid/ViewContainer.cs
@@ -154,6 +154,7 @@ namespace Nereid
AddSearchFilter (TrackFilterType.AlbumTitle, "album", Catalog.GetString ("Album Title"));
AddSearchFilter (TrackFilterType.Genre, "genre", Catalog.GetString ("Genre"));
AddSearchFilter (TrackFilterType.Year, "year", Catalog.GetString ("Year"));
+ AddSearchFilter (TrackFilterType.Comment, "comment", Catalog.GetString ("Comment"));
search_entry = new SearchEntry ();
search_entry.SetSizeRequest (200, -1);
diff --git a/src/Core/Banshee.Core/Banshee.Collection/TrackFilterType.cs b/src/Core/Banshee.Core/Banshee.Collection/TrackFilterType.cs
index 232b640..284ce3e 100644
--- a/src/Core/Banshee.Core/Banshee.Collection/TrackFilterType.cs
+++ b/src/Core/Banshee.Core/Banshee.Collection/TrackFilterType.cs
@@ -38,6 +38,7 @@ namespace Banshee.Collection
ArtistName = 1 << 1,
AlbumTitle = 1 << 2,
Genre = 1 << 3,
- Year = 1 << 4
+ Year = 1 << 4,
+ Comment = 1 << 5,
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]