[gnome-shell] viewSelector: Use clutter constant instead of true



commit f288c43e6ea37c3619c65706f0a4fceb358444e4
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Tue Jun 10 20:25:16 2014 +0200

    viewSelector: Use clutter constant instead of true

 js/ui/viewSelector.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 4d62979..bc157dc 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]