keybindings: Remove pause-resume-tweens shortcut
It is no longer useful since we replaced Tweener. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/669
This commit is contained in:
parent
1e20a1249a
commit
21e752e5e4
@ -150,11 +150,6 @@
|
|||||||
Keybinding to focus the active notification.
|
Keybinding to focus the active notification.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="pause-resume-tweens" type="as">
|
|
||||||
<default>[]</default>
|
|
||||||
<summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary>
|
|
||||||
<description></description>
|
|
||||||
</key>
|
|
||||||
<key name="switch-to-application-1" type="as">
|
<key name="switch-to-application-1" type="as">
|
||||||
<default>["<Super>1"]</default>
|
<default>["<Super>1"]</default>
|
||||||
<summary>Switch to application 1</summary>
|
<summary>Switch to application 1</summary>
|
||||||
|
@ -932,12 +932,6 @@ var WindowManager = class {
|
|||||||
Shell.ActionMode.OVERVIEW,
|
Shell.ActionMode.OVERVIEW,
|
||||||
this._startSwitcher.bind(this));
|
this._startSwitcher.bind(this));
|
||||||
|
|
||||||
this.addKeybinding('pause-resume-tweens',
|
|
||||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
|
||||||
Meta.KeyBindingFlags.NONE,
|
|
||||||
Shell.ActionMode.ALL,
|
|
||||||
this._toggleTweens.bind(this));
|
|
||||||
|
|
||||||
this.addKeybinding('open-application-menu',
|
this.addKeybinding('open-application-menu',
|
||||||
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
|
||||||
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
|
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
|
||||||
@ -2089,15 +2083,6 @@ var WindowManager = class {
|
|||||||
Main.panel.toggleCalendar();
|
Main.panel.toggleCalendar();
|
||||||
}
|
}
|
||||||
|
|
||||||
_toggleTweens() {
|
|
||||||
this._tweensPaused = !this._tweensPaused;
|
|
||||||
const OrigTweener = imports.tweener.tweener;
|
|
||||||
if (this._tweensPaused)
|
|
||||||
OrigTweener.pauseAllTweens();
|
|
||||||
else
|
|
||||||
OrigTweener.resumeAllTweens();
|
|
||||||
}
|
|
||||||
|
|
||||||
_showWorkspaceSwitcher(display, window, binding) {
|
_showWorkspaceSwitcher(display, window, binding) {
|
||||||
let workspaceManager = display.get_workspace_manager();
|
let workspaceManager = display.get_workspace_manager();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user