[gnome-documents] mainWindow: Fix typo in back key detection for RTL locales
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] mainWindow: Fix typo in back key detection for RTL locales
- Date: Wed, 29 Jan 2014 16:50:07 +0000 (UTC)
commit 3e237ad725b0db6ab20816967123855877f43f15
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jan 29 16:31:17 2014 +0100
mainWindow: Fix typo in back key detection for RTL locales
https://bugzilla.gnome.org/show_bug.cgi?id=723242
src/mainWindow.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 74c83bc..2e28b1e 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -206,8 +206,8 @@ const MainWindow = new Lang.Class({
let state = event.get_state()[1];
let isBack = (((state & Gdk.ModifierType.MOD1_MASK) != 0 &&
- (direction == Gtk.TextDirection.LTR && keyval == Gdk.KEY_Left) ||
- (direction == Gtk.TextDirection.RTL && keyval == Gdk.KEY_Right)) ||
+ ((direction == Gtk.TextDirection.LTR && keyval == Gdk.KEY_Left) ||
+ (direction == Gtk.TextDirection.RTL && keyval == Gdk.KEY_Right))) ||
keyval == Gdk.KEY_Back);
return isBack;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]