style: Fix indentation errors
While we have some style inconsistencies - mostly regarding split lines, i.e. aligning to the first arguments vs. a four-space indent - there are a couple of places where the spacing is simply wrong. Fix those. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/608
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
8fcd6c7153
commit
1398aa6562
@ -33,30 +33,26 @@ class RunDialog extends ModalDialog.ModalDialog {
|
||||
});
|
||||
this._enableInternalCommands = global.settings.get_boolean('development-tools');
|
||||
|
||||
this._internalCommands = { 'lg': () => {
|
||||
Main.createLookingGlass().open();
|
||||
},
|
||||
this._internalCommands = {
|
||||
'lg': () => { Main.createLookingGlass().open(); },
|
||||
|
||||
'r': this._restart.bind(this),
|
||||
'r': this._restart.bind(this),
|
||||
|
||||
// Developer brain backwards compatibility
|
||||
'restart': this._restart.bind(this),
|
||||
// Developer brain backwards compatibility
|
||||
'restart': this._restart.bind(this),
|
||||
|
||||
'debugexit': () => {
|
||||
Meta.quit(Meta.ExitCode.ERROR);
|
||||
},
|
||||
'debugexit': () => { Meta.quit(Meta.ExitCode.ERROR); },
|
||||
|
||||
// rt is short for "reload theme"
|
||||
'rt': () => {
|
||||
Main.reloadThemeResource();
|
||||
Main.loadTheme();
|
||||
},
|
||||
|
||||
'check_cloexec_fds': () => {
|
||||
Shell.util_check_cloexec_fds();
|
||||
},
|
||||
};
|
||||
// rt is short for "reload theme"
|
||||
'rt': () => {
|
||||
Main.reloadThemeResource();
|
||||
Main.loadTheme();
|
||||
},
|
||||
|
||||
'check_cloexec_fds': () => {
|
||||
Shell.util_check_cloexec_fds();
|
||||
},
|
||||
};
|
||||
|
||||
let label = new St.Label({ style_class: 'run-dialog-label',
|
||||
text: _("Enter a Command") });
|
||||
|
Reference in New Issue
Block a user