diff options
Diffstat (limited to 'extensions/45/no-overview/extension.js')
-rw-r--r-- | extensions/45/no-overview/extension.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/extensions/45/no-overview/extension.js b/extensions/45/no-overview/extension.js deleted file mode 100644 index f0a6f28..0000000 --- a/extensions/45/no-overview/extension.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - No overview at start-up - GNOME Shell 45+ extension - Contributors: @fthx - License: GPL v3 -*/ - -import * as Main from 'resource:///org/gnome/shell/ui/main.js'; - -export default class NoOverviewExtension { - enable() { - if (!Main.layoutManager._startingUp) { - return; - } - - Main.layoutManager.connectObject( - 'startup-complete', - () => Main.overview.hide(), - this - ); - } - - disable() { - Main.layoutManager.disconnectObject(this); - } -} |