From 8c28f9a77dc68334406cf2ee3d9afa190854105e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 29 Jun 2019 15:06:53 +0200 Subject: [PATCH] dwellClick: Reindent modes map Using multiple spaces after property names in order to align the values isn't something we do elsewhere. Instead, align the values by using a fixed 4-space indent as preferred by gjs nowadays. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/608 --- js/ui/status/dwellClick.js | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/js/ui/status/dwellClick.js b/js/ui/status/dwellClick.js index 6b5b623a0..170341fa3 100644 --- a/js/ui/status/dwellClick.js +++ b/js/ui/status/dwellClick.js @@ -8,26 +8,26 @@ const KEY_DWELL_CLICK_ENABLED = 'dwell-click-enabled'; const KEY_DWELL_MODE = 'dwell-mode'; const DWELL_MODE_WINDOW = 'window'; const DWELL_CLICK_MODES = { - primary: { - name: _("Single Click"), - icon: 'pointer-primary-click-symbolic', - type: Clutter.PointerA11yDwellClickType.PRIMARY - }, - double: { - name: _("Double Click"), - icon: 'pointer-double-click-symbolic', - type: Clutter.PointerA11yDwellClickType.DOUBLE - }, - drag: { - name: _("Drag"), - icon: 'pointer-drag-symbolic', - type: Clutter.PointerA11yDwellClickType.DRAG - }, + primary: { + name: _("Single Click"), + icon: 'pointer-primary-click-symbolic', + type: Clutter.PointerA11yDwellClickType.PRIMARY + }, + double: { + name: _("Double Click"), + icon: 'pointer-double-click-symbolic', + type: Clutter.PointerA11yDwellClickType.DOUBLE + }, + drag: { + name: _("Drag"), + icon: 'pointer-drag-symbolic', + type: Clutter.PointerA11yDwellClickType.DRAG + }, secondary: { - name: _("Secondary Click"), - icon: 'pointer-secondary-click-symbolic', - type: Clutter.PointerA11yDwellClickType.SECONDARY - }, + name: _("Secondary Click"), + icon: 'pointer-secondary-click-symbolic', + type: Clutter.PointerA11yDwellClickType.SECONDARY + } }; var DwellClickIndicator = GObject.registerClass(