[gnome-shell] renameFolderMenu: Move to non-legacy coding style
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] renameFolderMenu: Move to non-legacy coding style
- Date: Fri, 20 Sep 2019 15:59:31 +0000 (UTC)
commit 8e3aac8ed7407293f561c78b776f00e6809503c5
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Fri Sep 13 05:19:02 2019 +0200
renameFolderMenu: Move to non-legacy coding style
Use proper indentation on multi-line methods calls and use single quotes on
button label.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720
js/ui/appDisplay.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index b1f9a122c7..2d5283c686 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1735,10 +1735,10 @@ var RenameFolderMenu = class RenameFolderMenu extends PopupMenu.PopupMenu {
// Focus the text entry on menu pop-up
this.focusActor = this._entry.clutter_text;
- this._entry.clutter_text.connect('notify::text',
- this._validate.bind(this));
- this._entry.clutter_text.connect('activate',
- this._updateFolderName.bind(this));
+ this._entry.clutter_text.connect(
+ 'notify::text', this._validate.bind(this));
+ this._entry.clutter_text.connect(
+ 'activate', this._updateFolderName.bind(this));
// Rename button
this._button = new St.Button({
@@ -1746,7 +1746,7 @@ var RenameFolderMenu = class RenameFolderMenu extends PopupMenu.PopupMenu {
reactive: true,
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO,
can_focus: true,
- label: _("Rename"),
+ label: _('Rename'),
});
box.add_child(this._button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]