Updating 48/no-overview to version 48 [36f1f8a].
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
8ea5f75cdf
commit
93acf9af9b
2 changed files with 3 additions and 11 deletions
|
@ -9,15 +9,8 @@ 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
|
||||
);
|
||||
if (Main.layoutManager._startingUp)
|
||||
Main.layoutManager.connectObject('startup-complete', () => Main.overview.hide(), this);
|
||||
}
|
||||
|
||||
disable() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue