From e39f4ec0d6f30ffa6b2276e37c67cb51a88bce8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 10 Aug 2017 18:35:07 +0200 Subject: [PATCH] gdmUtils: Define constants with 'var' Most of those are accessed outside the module itself, but commit 033277b6 missed them ... https://bugzilla.gnome.org/show_bug.cgi?id=785556 --- js/gdm/util.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/js/gdm/util.js b/js/gdm/util.js index b65a7b0f0..b594da4fd 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -17,23 +17,23 @@ const ShellEntry = imports.ui.shellEntry; const SmartcardManager = imports.misc.smartcardManager; const Tweener = imports.ui.tweener; -const PASSWORD_SERVICE_NAME = 'gdm-password'; -const FINGERPRINT_SERVICE_NAME = 'gdm-fingerprint'; -const SMARTCARD_SERVICE_NAME = 'gdm-smartcard'; -const OVIRT_SERVICE_NAME = 'gdm-ovirtcred'; +var PASSWORD_SERVICE_NAME = 'gdm-password'; +var FINGERPRINT_SERVICE_NAME = 'gdm-fingerprint'; +var SMARTCARD_SERVICE_NAME = 'gdm-smartcard'; +var OVIRT_SERVICE_NAME = 'gdm-ovirtcred'; var FADE_ANIMATION_TIME = 0.16; var CLONE_FADE_ANIMATION_TIME = 0.25; -const LOGIN_SCREEN_SCHEMA = 'org.gnome.login-screen'; -const PASSWORD_AUTHENTICATION_KEY = 'enable-password-authentication'; -const FINGERPRINT_AUTHENTICATION_KEY = 'enable-fingerprint-authentication'; -const SMARTCARD_AUTHENTICATION_KEY = 'enable-smartcard-authentication'; -const BANNER_MESSAGE_KEY = 'banner-message-enable'; -const BANNER_MESSAGE_TEXT_KEY = 'banner-message-text'; -const ALLOWED_FAILURES_KEY = 'allowed-failures'; +var LOGIN_SCREEN_SCHEMA = 'org.gnome.login-screen'; +var PASSWORD_AUTHENTICATION_KEY = 'enable-password-authentication'; +var FINGERPRINT_AUTHENTICATION_KEY = 'enable-fingerprint-authentication'; +var SMARTCARD_AUTHENTICATION_KEY = 'enable-smartcard-authentication'; +var BANNER_MESSAGE_KEY = 'banner-message-enable'; +var BANNER_MESSAGE_TEXT_KEY = 'banner-message-text'; +var ALLOWED_FAILURES_KEY = 'allowed-failures'; -const LOGO_KEY = 'logo'; -const DISABLE_USER_LIST_KEY = 'disable-user-list'; +var LOGO_KEY = 'logo'; +var DISABLE_USER_LIST_KEY = 'disable-user-list'; // Give user 48ms to read each character of a PAM message var USER_READ_TIME = 48