[gnome-shell] keybindings: Remove pause-resume-tweens shortcut
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] keybindings: Remove pause-resume-tweens shortcut
- Date: Wed, 7 Aug 2019 16:52:35 +0000 (UTC)
commit 21e752e5e4d6c18fb8ee4d9c3de5cfd1925f9e33
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Jul 21 05:49:20 2018 +0200
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
data/org.gnome.shell.gschema.xml.in | 5 -----
js/ui/windowManager.js | 15 ---------------
2 files changed, 20 deletions(-)
---
diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in
index 9c3e42c94..d5f327183 100644
--- a/data/org.gnome.shell.gschema.xml.in
+++ b/data/org.gnome.shell.gschema.xml.in
@@ -150,11 +150,6 @@
Keybinding to focus the active notification.
</description>
</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">
<default>["<Super>1"]</default>
<summary>Switch to application 1</summary>
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index c6eb37352..346485ffd 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -932,12 +932,6 @@ var WindowManager = class {
Shell.ActionMode.OVERVIEW,
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',
new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }),
Meta.KeyBindingFlags.IGNORE_AUTOREPEAT,
@@ -2089,15 +2083,6 @@ var WindowManager = class {
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) {
let workspaceManager = display.get_workspace_manager();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]