[gnome-documents] dropdown: remove the category selector



commit bcd5682eae4af292d8f871e785ff23ea0ebbd63f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Nov 15 21:41:54 2011 -0500

    dropdown: remove the category selector
    
    It's not in the most recent designs, so we'll take it out for now.

 src/searchbar.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/searchbar.js b/src/searchbar.js
index fccc22c..19272fb 100644
--- a/src/searchbar.js
+++ b/src/searchbar.js
@@ -298,7 +298,9 @@ Dropdown.prototype = {
         this._sourceView = new Manager.BaseView(Global.sourceManager);
         this._typeView = new Manager.BaseView(Global.searchTypeManager);
         this._matchView = new Manager.BaseView(Global.searchMatchManager);
-        this._categoryView = new Manager.BaseView(Global.searchCategoryManager);
+        // TODO: this is out for now, but should we move it somewhere
+        // else?
+        // this._categoryView = new Manager.BaseView(Global.searchCategoryManager);
 
         this.widget = new Gtk.Frame({ shadow_type: Gtk.ShadowType.IN });
         this.actor = new GtkClutter.Actor({ contents: this.widget,
@@ -312,7 +314,7 @@ Dropdown.prototype = {
         this._grid.add(this._sourceView.widget);
         this._grid.add(this._typeView.widget);
         this._grid.add(this._matchView.widget);
-        this._grid.add(this._categoryView.widget);
+        //this._grid.add(this._categoryView.widget);
 
         this.widget.show_all();
 



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