[gnome-shell] Unselect search button if there is search result



commit 61869d7db19490b85ce5430c3ab45a134d8023cf
Author: Maxim Ermilov <zaspire rambler ru>
Date:   Tue Jan 25 02:38:16 2011 +0300

    Unselect search button if there is search result
    
    https://bugzilla.gnome.org/show_bug.cgi?id=640464

 js/ui/searchDisplay.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 45fccd6..3ed60ad 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -309,6 +309,8 @@ SearchResults.prototype = {
             this._statusText.set_text(_("No matching results."));
             this._statusText.show();
         } else {
+            this._selectedOpenSearchButton = -1;
+            this._updateOpenSearchButtonState();
             this._statusText.hide();
         }
 



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