[gnome-builder/gnome-builder-3-18] editor: move up/down directly
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] editor: move up/down directly
- Date: Thu, 15 Oct 2015 14:41:35 +0000 (UTC)
commit 9816f33e5b1d0b402b6c2560ca3c273fcdf84eb5
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]