mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
use startInOverview flag
This commit is contained in:
@@ -92,6 +92,8 @@ function _enable() {
|
||||
Me.settings = Convenience.getSettings('org.gnome.shell.extensions.dash-to-panel');
|
||||
Me.desktopSettings = Convenience.getSettings('org.gnome.desktop.interface');
|
||||
|
||||
Main.layoutManager.startInOverview = !Me.settings.get_boolean('hide-overview-on-startup');
|
||||
|
||||
if (Me.settings.get_boolean('hide-overview-on-startup') && Main.layoutManager._startingUp) {
|
||||
Main.sessionMode.hasOverview = false;
|
||||
Main.layoutManager.connect('startup-complete', () => {
|
||||
@@ -144,4 +146,4 @@ function disable(reset) {
|
||||
}
|
||||
|
||||
Main.sessionMode.hasOverview = this._realHasOverview;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user