mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Bind Escape to clear search entry
svn path=/trunk/; revision=112
This commit is contained in:
parent
a5c3c258a3
commit
6bd31dd211
1 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue