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



commit 03f77dd3c2fc2310a21fe8f3caaf111475e48324
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]