mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
appDisplay: Home and End keys for app grid navigation
Include Home and End keys for consistent behaviour with respect to overview navigation. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2241>
This commit is contained in:
parent
034e59af2d
commit
db68749335
1 changed files with 6 additions and 0 deletions
|
|
@ -1669,6 +1669,12 @@ class AppDisplay extends BaseAppView {
|
|||
} else if (event.get_key_symbol() === Clutter.KEY_Page_Down) {
|
||||
this.goToPage(this._grid.currentPage + 1);
|
||||
return Clutter.EVENT_STOP;
|
||||
} else if (event.get_key_symbol() === Clutter.KEY_Home) {
|
||||
this.goToPage(0);
|
||||
return Clutter.EVENT_STOP;
|
||||
} else if (event.get_key_symbol() === Clutter.KEY_End) {
|
||||
this.goToPage(this._grid.nPages - 1);
|
||||
return Clutter.EVENT_STOP;
|
||||
}
|
||||
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue