From 5f3bad9c94eadb624cf138ee2e0a954f6876e60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 29 Jun 2019 15:22:44 +0200 Subject: [PATCH] locatePointer: Use constant for GSettings key The constant is defined, so use it. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606 --- js/ui/locatePointer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/locatePointer.js b/js/ui/locatePointer.js index 317783a4e..bdbd200ba 100644 --- a/js/ui/locatePointer.js +++ b/js/ui/locatePointer.js @@ -15,7 +15,7 @@ var LocatePointer = class { } show() { - if (!this._settings.get_boolean("locate-pointer")) + if (!this._settings.get_boolean(LOCATE_POINTER_KEY)) return; let [x, y, mods] = global.get_pointer();