[gnome-shell] screenShield: Fix typo
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] screenShield: Fix typo
- Date: Wed, 5 Sep 2012 17:29:14 +0000 (UTC)
commit b37e02c90a483d91780dcfa04dfac9b7b9ad7a1a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Sep 3 21:51:53 2012 -0300
screenShield: Fix typo
We aren't French, no matter how much we may want to be.
https://bugzilla.gnome.org/show_bug.cgi?id=683305
js/ui/screenShield.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 9642ed9..2d6c2e6 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -27,7 +27,7 @@ const LOCK_ENABLED_KEY = 'lock-enabled';
const CURTAIN_SLIDE_TIME = 0.5;
// fraction of screen height the arrow must reach before completing
// the slide up automatically
-const ARROW_DRAG_TRESHOLD = 0.1;
+const ARROW_DRAG_THRESHOLD = 0.1;
// Parameters for the arrow animation
const N_ARROWS = 3;
@@ -496,7 +496,7 @@ const ScreenShield = new Lang.Class({
},
_onDragEnd: function(action, actor, eventX, eventY, modifiers) {
- if (this._lockScreenGroup.y < -(ARROW_DRAG_TRESHOLD * global.stage.height)) {
+ if (this._lockScreenGroup.y < -(ARROW_DRAG_THRESHOLD * global.stage.height)) {
// Complete motion automatically
this._hideLockScreen(true);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]