[gnome-shell] locatePointer: Capitalize class name



commit 69725e5d4124670bfac53fd624ef646440ecd98c
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jun 29 14:30:23 2019 +0200

    locatePointer: Capitalize class name
    
    ... according to our coding style.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

 js/ui/locatePointer.js | 2 +-
 js/ui/main.js          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/locatePointer.js b/js/ui/locatePointer.js
index 52a0bc486..317783a4e 100644
--- a/js/ui/locatePointer.js
+++ b/js/ui/locatePointer.js
@@ -7,7 +7,7 @@ const Main = imports.ui.main;
 const LOCATE_POINTER_KEY = "locate-pointer";
 const LOCATE_POINTER_SCHEMA = "org.gnome.desktop.interface"
 
-var locatePointer = class {
+var LocatePointer = class {
     constructor() {
         this._settings = new Gio.Settings({schema_id: LOCATE_POINTER_SCHEMA});
         this._ripples = new Ripples.Ripples(0.5, 0.5, 'ripple-pointer-location');
diff --git a/js/ui/main.js b/js/ui/main.js
index 5b9191483..04f333ea1 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -172,7 +172,7 @@ function _initializeUI() {
     kbdA11yDialog = new KbdA11yDialog.KbdA11yDialog();
     wm = new WindowManager.WindowManager();
     magnifier = new Magnifier.Magnifier();
-    locatePointer = new LocatePointer.locatePointer();
+    locatePointer = new LocatePointer.LocatePointer();
 
     if (LoginManager.canLock())
         screenShield = new ScreenShield.ScreenShield();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]