[banshee/podcast-ng] [Nereid] Added 'DefaultSearchEntry' and exposed 'current_search_entry' through 'SearchEntry'



commit 38b0a97f01ec8c7afa6171c5286dbd739752d69a
Author: Mike Urbanski <michael c urbanski gmail com>
Date:   Mon Mar 29 22:26:42 2010 -0500

    [Nereid] Added 'DefaultSearchEntry' and exposed 'current_search_entry' through 'SearchEntry'

 src/Clients/Nereid/Nereid/ViewContainer.cs |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid/ViewContainer.cs b/src/Clients/Nereid/Nereid/ViewContainer.cs
index 6b8a663..25b4862 100644
--- a/src/Clients/Nereid/Nereid/ViewContainer.cs
+++ b/src/Clients/Nereid/Nereid/ViewContainer.cs
@@ -45,6 +45,10 @@ namespace Nereid
     public class ViewContainer : VBox
     {
         private SearchEntry search_entry;
+
+        private EventBox search_entry_box;
+        private SearchEntry current_search_entry;
+
         private HBox header;
         private EventBox header_box;
         private Label title_label;
@@ -65,6 +69,7 @@ namespace Nereid
         {
             header = new HBox ();
             footer = new VBox ();
+            search_entry_box = new EventBox ();
 
             EventBox title_box = new EventBox ();
             title_label = new Label ();
@@ -250,10 +255,15 @@ namespace Nereid
             get { return header; }
         }
 
-        public SearchEntry SearchEntry {
+        public SearchEntry DefaultSearchEntry
+        {
             get { return search_entry; }
         }
 
+        public SearchEntry SearchEntry {
+            get { return current_search_entry; }
+        }
+
         public ISourceContents Content {
             get { return content; }
             set {



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