summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <carlos.soriano89@gmail.com>2014-06-10 20:25:16 +0200
committerCarlos Soriano <carlos.soriano89@gmail.com>2014-06-10 21:22:51 +0200
commitf288c43e6ea37c3619c65706f0a4fceb358444e4 (patch)
tree39770888b5cdfb11de78f6c8b4e2069c53ae857c
parentb981a591c76176b1fb728131032368222c8f840a (diff)
viewSelector: Use clutter constant instead of true
-rw-r--r--js/ui/viewSelector.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 4d629793..bc157dcd 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -285,10 +285,10 @@ const ViewSelector = new Lang.Class({
} else if (!this._searchActive && !global.stage.key_focus) {
if (symbol == Clutter.Tab || symbol == Clutter.Down) {
this._activePage.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
- return true;
+ return Clutter.EVENT_STOP;
} else if (symbol == Clutter.ISO_Left_Tab) {
this._activePage.navigate_focus(null, Gtk.DirectionType.TAB_BACKWARD, false);
- return true;
+ return Clutter.EVENT_STOP;
}
}
return Clutter.EVENT_PROPAGATE;