[gnome-shell] Fix Meta.KeyBindingFlags.IS_REVERSED typo
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix Meta.KeyBindingFlags.IS_REVERSED typo
- Date: Mon, 16 Jun 2014 10:57:40 +0000 (UTC)
commit d98c1ba522d34b457fa498d404c3fc3030e3b320
Author: Christophe Fergeau <cfergeau redhat com>
Date: Thu May 29 23:23:32 2014 +0200
Fix Meta.KeyBindingFlags.IS_REVERSED typo
The code currently tries to use Meta.KeyBindingFlags.REVERSED. Since
this constant is |'ed with Meta.KeyBindingFlags.REVERSES, gjs silently
ignores the unknown flag.
https://bugzilla.gnome.org/show_bug.cgi?id=731619
js/ui/status/keyboard.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js
index 0df0502..fc37ba0 100644
--- a/js/ui/status/keyboard.js
+++ b/js/ui/status/keyboard.js
@@ -373,7 +373,7 @@ const InputSourceIndicator = new Lang.Class({
Main.wm.addKeybinding('switch-input-source-backward',
new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }),
Meta.KeyBindingFlags.REVERSES |
- Meta.KeyBindingFlags.REVERSED,
+ Meta.KeyBindingFlags.IS_REVERSED,
Shell.KeyBindingMode.ALL,
Lang.bind(this, this._switchInputSource));
this._settings = new Gio.Settings({ schema: DESKTOP_INPUT_SOURCES_SCHEMA });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]