[gnome-documents/gnome-3-4] toolbar: hide the search entry when switching to a collection



commit d8f9d7b332e9ad09f944b3fa10deaccacbdce78d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 14 14:16:12 2012 -0400

    toolbar: hide the search entry when switching to a collection

 src/mainToolbar.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index ba142b0..7c074a6 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -179,6 +179,7 @@ MainToolbar.prototype = {
         this.widget.set_back_visible(item != null);
 
         this._setToolbarTitle();
+        this.searchbar.hide();
     },
 
     _setToolbarTitle: function() {



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