banshee r4041 - in trunk/banshee: . src/Clients/Nereid/Nereid



Author: gburt
Date: Fri May 30 18:53:31 2008
New Revision: 4041
URL: http://svn.gnome.org/viewvc/banshee?rev=4041&view=rev

Log:
2008-05-30  Gabriel Burt  <gabriel burt gmail com>

	* src/Clients/Nereid/Nereid/ViewContainer.cs: Remove the fields listed in
	the menu that popped up when you clicked the icon next to the search
	entry, since they did nothing.  Will probably be added back later, and
	made to prepend "artist" etc fields.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Clients/Nereid/Nereid/ViewContainer.cs

Modified: trunk/banshee/src/Clients/Nereid/Nereid/ViewContainer.cs
==============================================================================
--- trunk/banshee/src/Clients/Nereid/Nereid/ViewContainer.cs	(original)
+++ trunk/banshee/src/Clients/Nereid/Nereid/ViewContainer.cs	Fri May 30 18:53:31 2008
@@ -100,11 +100,11 @@
             if (uia != null) {
                 Gtk.Action action = uia.GlobalActions["WikiSearchHelpAction"];
                 if (action != null) {
-                    MenuItem item = new SeparatorMenuItem ();
-                    item.Show ();
-                    search_entry.Menu.Append (item);
+                    //MenuItem item = new SeparatorMenuItem ();
+                    //item.Show ();
+                    //search_entry.Menu.Append (item);
                     
-                    item = new ImageMenuItem (Stock.Help, null);
+                    MenuItem item = new ImageMenuItem (Stock.Help, null);
                     item.Activated += delegate { action.Activate (); };
                     item.Show ();
                     search_entry.Menu.Append (item);
@@ -123,13 +123,13 @@
             search_entry = new SearchEntry ();
             search_entry.SetSizeRequest (200, -1);
             
-            search_entry.AddFilterOption ((int)TrackFilterType.None, Catalog.GetString ("All Columns"));
+            /*search_entry.AddFilterOption ((int)TrackFilterType.None, Catalog.GetString ("All Columns"));
             search_entry.AddFilterSeparator ();
             search_entry.AddFilterOption ((int)TrackFilterType.SongName, Catalog.GetString ("Song Name"));
             search_entry.AddFilterOption ((int)TrackFilterType.ArtistName, Catalog.GetString ("Artist Name"));
             search_entry.AddFilterOption ((int)TrackFilterType.AlbumTitle, Catalog.GetString ("Album Title"));
             search_entry.AddFilterOption ((int)TrackFilterType.Genre, Catalog.GetString ("Genre"));
-            search_entry.AddFilterOption ((int)TrackFilterType.Year, Catalog.GetString ("Year"));  
+            search_entry.AddFilterOption ((int)TrackFilterType.Year, Catalog.GetString ("Year"));  */
             
             search_entry.FilterChanged += OnSearchEntryFilterChanged;
             search_entry.ActivateFilter ((int)TrackFilterType.None);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]