[gnome-documents] Revert "searchbar: ignore action-state-changed signals which are not for us"



commit a052e505e7a06b9ce6866a85ad2dbe141d6ad82b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jan 16 13:54:12 2013 -0500

    Revert "searchbar: ignore action-state-changed signals which are not for us"
    
    See
    http://git.gnome.org/browse/gjs/commit/?id=19784d70393d4ef23c8e07d06ea052b003ea2dc4
    
    This reverts commit 0cb97dce5b61a699afccd3c1af3b0204a9dcec9f.

 src/searchbar.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/searchbar.js b/src/searchbar.js
index 9e1b54d..ba7ad33 100644
--- a/src/searchbar.js
+++ b/src/searchbar.js
@@ -104,9 +104,6 @@ const Searchbar = new Lang.Class({
     },
 
     _onActionStateChanged: function(source, actionName, state) {
-        if (actionName != 'search')
-            return;
-
         if (state.get_boolean())
             this.show();
         else



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