[gnome-builder] editor: move up/down directly



commit a463d9b295a566e989cf6aac30af988a04c1c66e
Author: Christian Hergert <chergert redhat com>
Date:   Tue Oct 13 14:18:51 2015 -0700

    editor: move up/down directly
    
    We don't need to translate these values since they should always be
    predictable (as they are used by the search entry).

 src/editor/gb-editor-frame-actions.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/editor/gb-editor-frame-actions.c b/src/editor/gb-editor-frame-actions.c
index 1c5cda2..359daa0 100644
--- a/src/editor/gb-editor-frame-actions.c
+++ b/src/editor/gb-editor-frame-actions.c
@@ -79,7 +79,7 @@ gb_editor_frame_actions_next_search_result (GSimpleAction *action,
   ide_source_view_set_rubberband_search (self->source_view, FALSE);
 
   IDE_SOURCE_VIEW_GET_CLASS (self->source_view)->move_search
-    (self->source_view, GTK_DIR_TAB_FORWARD, FALSE, TRUE, TRUE, FALSE, FALSE);
+    (self->source_view, GTK_DIR_DOWN, FALSE, TRUE, TRUE, FALSE, FALSE);
 }
 
 static void
@@ -94,7 +94,7 @@ gb_editor_frame_actions_previous_search_result (GSimpleAction *action,
   ide_source_view_set_rubberband_search (self->source_view, FALSE);
 
   IDE_SOURCE_VIEW_GET_CLASS (self->source_view)->move_search
-    (self->source_view, GTK_DIR_TAB_BACKWARD, FALSE, TRUE, TRUE, FALSE, FALSE);
+    (self->source_view, GTK_DIR_UP, FALSE, TRUE, TRUE, FALSE, FALSE);
 }
 
 static const GActionEntry GbEditorFrameActions[] = {


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