[gnome-builder] editor: refocus textview on search entry activate.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: refocus textview on search entry activate.
- Date: Wed, 8 Oct 2014 23:22:53 +0000 (UTC)
commit 32c57c208dba4b21272e84c84049acfd3b2fe889
Author: Christian Hergert <christian hergert me>
Date: Wed Oct 8 16:22:47 2014 -0700
editor: refocus textview on search entry activate.
src/editor/gb-editor-tab.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-tab.c b/src/editor/gb-editor-tab.c
index ef1c5af..fab3a2a 100644
--- a/src/editor/gb-editor-tab.c
+++ b/src/editor/gb-editor-tab.c
@@ -813,6 +813,7 @@ on_search_entry_activate (GdTaggedEntry *search_entry,
g_return_if_fail (GB_IS_EDITOR_TAB (tab));
gb_editor_tab_move_next_match (tab);
+ gtk_widget_grab_focus (GTK_WIDGET (tab->priv->source_view));
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]