summaryrefslogtreecommitdiffstats
path: root/extensions/vertical-workspaces/lib/overview.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 13:32:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 13:32:02 +0000
commit9969d17a688d6d8e1764d7242fd4c8b838ec2228 (patch)
tree010ad3d1857c611930d8086909451a5120ad978f /extensions/vertical-workspaces/lib/overview.js
parentAdding upstream version 20230618. (diff)
downloadgnome-shell-extensions-extra-upstream/20231210.tar.xz
gnome-shell-extensions-extra-upstream/20231210.zip
Adding upstream version 20231210.upstream/20231210
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/vertical-workspaces/lib/overview.js')
-rw-r--r--extensions/vertical-workspaces/lib/overview.js59
1 files changed, 0 insertions, 59 deletions
diff --git a/extensions/vertical-workspaces/lib/overview.js b/extensions/vertical-workspaces/lib/overview.js
deleted file mode 100644
index 2f23d05..0000000
--- a/extensions/vertical-workspaces/lib/overview.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/**
- * V-Shell (Vertical Workspaces)
- * overview.js
- *
- * @author GdH <G-dH@github.com>
- * @copyright 2022 - 2023
- * @license GPL-3.0
- *
- */
-
-'use strict';
-
-const Overview = imports.ui.overview;
-
-const Me = imports.misc.extensionUtils.getCurrentExtension();
-const _Util = Me.imports.lib.util;
-
-let _overrides;
-let opt;
-
-function update(reset = false) {
- if (_overrides)
- _overrides.removeAll();
-
-
- if (reset) {
- _overrides = null;
- opt = null;
- return;
- }
-
- opt = Me.imports.lib.settings.opt;
- _overrides = new _Util.Overrides();
-
- _overrides.addOverride('Overview', Overview.Overview.prototype, OverviewCommon);
-}
-
-const OverviewCommon = {
- _showDone() {
- this._animationInProgress = false;
- this._coverPane.hide();
-
- this.emit('shown');
- // Handle any calls to hide* while we were showing
- if (!this._shown)
- this._animateNotVisible();
-
- this._syncGrab();
-
- // if user activates overview during startup animation, transition needs to be shifted to the state 2 here
- const controls = this._overview._controls;
- if (controls._searchController._searchActive && controls._stateAdjustment.value === 1) {
- if (opt.SEARCH_VIEW_ANIMATION)
- controls._onSearchChanged();
- else if (!opt.OVERVIEW_MODE2)
- controls._stateAdjustment.value = 2;
- }
- },
-};