From ea3fd0cf65f30d31c4d04b42fa4fe45b6907c5be Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 4 Sep 2014 17:55:05 -0700 Subject: [PATCH] main: Fix code indentation This has been bothering me for a while. --- js/ui/main.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/js/ui/main.js b/js/ui/main.js index 9f4efa820..be69ca149 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -204,24 +204,24 @@ function _initializeUI() { } layoutManager.connect('startup-complete', function() { - if (keybindingMode == Shell.KeyBindingMode.NONE) { - keybindingMode = Shell.KeyBindingMode.NORMAL; - } - if (screenShield) { - screenShield.lockIfWasLocked(); - } - if (LoginManager.haveSystemd() && - sessionMode.currentMode != 'gdm' && - sessionMode.currentMode != 'initial-setup') { - // Do not import globally to not depend - // on systemd on non-systemd systems. - let GSystem = imports.gi.GSystem; - GSystem.log_structured_print('GNOME Shell started at ' + _startDate, - ['MESSAGE_ID=' + GNOMESHELL_STARTED_MESSAGE_ID]); - } else { - log('GNOME Shell started at ' + _startDate); - } - }); + if (keybindingMode == Shell.KeyBindingMode.NONE) { + keybindingMode = Shell.KeyBindingMode.NORMAL; + } + if (screenShield) { + screenShield.lockIfWasLocked(); + } + if (LoginManager.haveSystemd() && + sessionMode.currentMode != 'gdm' && + sessionMode.currentMode != 'initial-setup') { + // Do not import globally to not depend + // on systemd on non-systemd systems. + let GSystem = imports.gi.GSystem; + GSystem.log_structured_print('GNOME Shell started at ' + _startDate, + ['MESSAGE_ID=' + GNOMESHELL_STARTED_MESSAGE_ID]); + } else { + log('GNOME Shell started at ' + _startDate); + } + }); } function _loadDefaultStylesheet() {