[gnome-shell/gnome-3-38] audioDeviceSelection: Move a method to the new coding style ...
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-38] audioDeviceSelection: Move a method to the new coding style ...
- Date: Thu, 10 Jun 2021 19:12:19 +0000 (UTC)
commit 18a583101e30f5d2c4e09dd7e1b33d4e5912dc7a
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Apr 19 17:46:23 2021 +0200
audioDeviceSelection: Move a method to the new coding style ...
... before touching its code in the next commit.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1819>
(cherry picked from commit 7935da6168aa262781cc5d95f94b63fe54c04124)
js/ui/audioDeviceSelection.js | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/audioDeviceSelection.js b/js/ui/audioDeviceSelection.js
index 07b8171339..abd8efaaed 100644
--- a/js/ui/audioDeviceSelection.js
+++ b/js/ui/audioDeviceSelection.js
@@ -51,12 +51,16 @@ var AudioDeviceSelectionDialog = GObject.registerClass({
this.contentLayout.add_child(content);
if (Main.sessionMode.allowSettings) {
- this.addButton({ action: this._openSettings.bind(this),
- label: _("Sound Settings") });
+ this.addButton({
+ action: this._openSettings.bind(this),
+ label: _('Sound Settings'),
+ });
}
- this.addButton({ action: this.close.bind(this),
- label: _("Cancel"),
- key: Clutter.KEY_Escape });
+ this.addButton({
+ action: this.close.bind(this),
+ label: _('Cancel'),
+ key: Clutter.KEY_Escape,
+ });
}
_getDeviceLabel(device) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]