viewSelector: Move 'toggle-overview' shortcut to overview
It is handled there already, there's no reason for it to continue to be in ViewSelector. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1624>
This commit is contained in:

committed by
Marge Bot

parent
22f4a6b7f6
commit
bce67a27cc
@ -358,13 +358,6 @@ var ViewSelector = GObject.registerClass({
|
||||
Shell.ActionMode.OVERVIEW,
|
||||
this._toggleAppsPage.bind(this));
|
||||
|
||||
Main.wm.addKeybinding('toggle-overview',
|
||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
||||
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
|
||||
Shell.ActionMode.NORMAL |
|
||||
Shell.ActionMode.OVERVIEW,
|
||||
Main.overview.toggle.bind(Main.overview));
|
||||
|
||||
let side;
|
||||
if (Clutter.get_default_text_direction() == Clutter.TextDirection.RTL)
|
||||
side = St.Side.RIGHT;
|
||||
|
Reference in New Issue
Block a user