Unselect search button if there is search result

https://bugzilla.gnome.org/show_bug.cgi?id=640464
This commit is contained in:
Maxim Ermilov 2011-01-25 02:38:16 +03:00
parent e2e90a550e
commit 61869d7db1

View File

@ -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();
}