Bind Escape to clear search entry

svn path=/trunk/; revision=112
This commit is contained in:
Colin Walters 2008-12-03 19:24:50 +00:00
parent a5c3c258a3
commit 6bd31dd211

View File

@ -86,7 +86,10 @@ Sideshow.prototype = {
});
this._searchEntry.connect('key-press-event', function (se, e) {
let code = e.get_code();
if (code == 111) {
if (code == 9) {
me._searchEntry.text = '';
return true;
} else if (code == 111) {
me._appdisplay.selectUp();
return true;
} else if (code == 116) {