summaryrefslogtreecommitdiffstats
path: root/extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 14:37:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 14:43:55 +0000
commit202aca7bf4eb4927658b82b627afb9dab254a551 (patch)
tree2be0e541d4ce5b6d2a517daa37151bd0d8ba948e /extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js
parentReleasing debian version 20230618-3. (diff)
downloadgnome-shell-extensions-extra-202aca7bf4eb4927658b82b627afb9dab254a551.tar.xz
gnome-shell-extensions-extra-202aca7bf4eb4927658b82b627afb9dab254a551.zip
Merging upstream version 20231210.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js')
-rw-r--r--extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js b/extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js
deleted file mode 100644
index e805c3b..0000000
--- a/extensions/disable-workspace-switcher/disable-workspace-switcher@jbradaric.me/extension.js
+++ /dev/null
@@ -1,21 +0,0 @@
-'use strict'
-
-const WorkspaceSwitcherPopup = imports.ui.workspaceSwitcherPopup.WorkspaceSwitcherPopup;
-
-class Extension {
- constructor() {
- this.originalWorkspaceSwitcherPopup_display = WorkspaceSwitcherPopup.prototype.display;
- }
-
- enable() {
- WorkspaceSwitcherPopup.prototype.display = () => {};
- }
-
- disable() {
- WorkspaceSwitcherPopup.prototype.display = this.originalWorkspaceSwitcherPopup_display;
- }
-}
-
-function init() {
- return new Extension();
-}