main: Fix code indentation

This has been bothering me for a while.
This commit is contained in:
Jasper St. Pierre 2014-09-04 17:55:05 -07:00
parent 9c614057be
commit ea3fd0cf65

View File

@ -204,24 +204,24 @@ function _initializeUI() {
} }
layoutManager.connect('startup-complete', function() { layoutManager.connect('startup-complete', function() {
if (keybindingMode == Shell.KeyBindingMode.NONE) { if (keybindingMode == Shell.KeyBindingMode.NONE) {
keybindingMode = Shell.KeyBindingMode.NORMAL; keybindingMode = Shell.KeyBindingMode.NORMAL;
} }
if (screenShield) { if (screenShield) {
screenShield.lockIfWasLocked(); screenShield.lockIfWasLocked();
} }
if (LoginManager.haveSystemd() && if (LoginManager.haveSystemd() &&
sessionMode.currentMode != 'gdm' && sessionMode.currentMode != 'gdm' &&
sessionMode.currentMode != 'initial-setup') { sessionMode.currentMode != 'initial-setup') {
// Do not import globally to not depend // Do not import globally to not depend
// on systemd on non-systemd systems. // on systemd on non-systemd systems.
let GSystem = imports.gi.GSystem; let GSystem = imports.gi.GSystem;
GSystem.log_structured_print('GNOME Shell started at ' + _startDate, GSystem.log_structured_print('GNOME Shell started at ' + _startDate,
['MESSAGE_ID=' + GNOMESHELL_STARTED_MESSAGE_ID]); ['MESSAGE_ID=' + GNOMESHELL_STARTED_MESSAGE_ID]);
} else { } else {
log('GNOME Shell started at ' + _startDate); log('GNOME Shell started at ' + _startDate);
} }
}); });
} }
function _loadDefaultStylesheet() { function _loadDefaultStylesheet() {