cleanup: Remove spaces in object literals

We only adopted this style relatively recently, so there's a bit
more to adjust. Still, it's manageable and another step towards
getting rid of the legacy style.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:
Florian Müllner
2023-08-07 00:40:20 +02:00
committed by Marge Bot
parent 6a22af83dc
commit 071f92cfb6
93 changed files with 583 additions and 586 deletions

View File

@ -32,8 +32,8 @@ class RunDialog extends ModalDialog.ModalDialog {
destroyOnClose: false,
});
this._lockdownSettings = new Gio.Settings({ schema_id: LOCKDOWN_SCHEMA });
this._terminalSettings = new Gio.Settings({ schema_id: TERMINAL_SCHEMA });
this._lockdownSettings = new Gio.Settings({schema_id: LOCKDOWN_SCHEMA});
this._terminalSettings = new Gio.Settings({schema_id: TERMINAL_SCHEMA});
global.settings.connect('changed::development-tools', () => {
this._enableInternalCommands = global.settings.get_boolean('development-tools');
});
@ -62,7 +62,7 @@ class RunDialog extends ModalDialog.ModalDialog {
let title = _('Run a Command');
let content = new Dialog.MessageDialogContent({ title });
let content = new Dialog.MessageDialogContent({title});
this.contentLayout.add_actor(content);
let entry = new St.Entry({