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:
Florian Müllner 2018-07-21 05:49:20 +02:00
parent 1e20a1249a
commit 21e752e5e4
2 changed files with 0 additions and 20 deletions

View File

@ -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>["&lt;Super&gt;1"]</default> <default>["&lt;Super&gt;1"]</default>
<summary>Switch to application 1</summary> <summary>Switch to application 1</summary>

View File

@ -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();