[gnome-builder/gnome-builder-3-18] editor-frame: make next/previous search in current search direction
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] editor-frame: make next/previous search in current search direction
- Date: Tue, 13 Oct 2015 07:40:40 +0000 (UTC)
commit 212fccbe973e129b9c6a68495c9286cdd41c2ef3
Author: Ray Strode <rstrode redhat com>
Date: Sun Oct 11 14:48:06 2015 -0400
editor-frame: make next/previous search in current search direction
Right now they hardcode UP and DOWN, but they should follow the
current search direction.
https://bugzilla.gnome.org/show_bug.cgi?id=756405
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 359daa0..1c5cda2 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_DOWN, FALSE, TRUE, TRUE, FALSE, FALSE);
+ (self->source_view, GTK_DIR_TAB_FORWARD, 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_UP, FALSE, TRUE, TRUE, FALSE, FALSE);
+ (self->source_view, GTK_DIR_TAB_BACKWARD, FALSE, TRUE, TRUE, FALSE, FALSE);
}
static const GActionEntry GbEditorFrameActions[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]