diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 06:16:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 06:19:57 +0000 |
commit | c12d383974530ff928699dd98b424824bf21962d (patch) | |
tree | b3304eeafe0342bfe58827e9507443c5dde167e0 /extensions/45/no-overview/extension.js | |
parent | Releasing debian version 20231210-2. (diff) | |
download | gnome-shell-extensions-extra-c12d383974530ff928699dd98b424824bf21962d.tar.xz gnome-shell-extensions-extra-c12d383974530ff928699dd98b424824bf21962d.zip |
Merging upstream version 20240414 (Closes: #1067433).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/45/no-overview/extension.js')
-rw-r--r-- | extensions/45/no-overview/extension.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/extensions/45/no-overview/extension.js b/extensions/45/no-overview/extension.js deleted file mode 100644 index 63c914a..0000000 --- a/extensions/45/no-overview/extension.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - No overview at start-up - GNOME Shell 45+ extension - Contributors: @fthx, @fmuellner - License: GPL v3 -*/ - - -import * as Main from 'resource:///org/gnome/shell/ui/main.js'; - -export default class NoOverviewExtension { - constructor() { - this._realHasOverview = Main.sessionMode.hasOverview; - } - - enable() { - if (!Main.layoutManager._startingUp) { - return; - } - - Main.sessionMode.hasOverview = false; - - this._startup_complete = Main.layoutManager.connect('startup-complete', () => { - Main.sessionMode.hasOverview = this._realHasOverview; - }); - } - - disable() { - Main.sessionMode.hasOverview = this._realHasOverview; - Main.layoutManager.disconnect(this._startup_complete); - } -} |