[gnome-builder/editor-layout] focus tab after opening it
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/editor-layout] focus tab after opening it
- Date: Mon, 1 Dec 2014 00:12:25 +0000 (UTC)
commit 576ccec2472097b1915bc32967bf846448a59368
Author: Christian Hergert <christian hergert me>
Date: Sun Nov 30 05:28:09 2014 -0800
focus tab after opening it
src/editor/gb-editor-workspace.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-workspace.c b/src/editor/gb-editor-workspace.c
index a327b35..cc59ed6 100644
--- a/src/editor/gb-editor-workspace.c
+++ b/src/editor/gb-editor-workspace.c
@@ -184,6 +184,7 @@ open_tab (GSimpleAction *action,
gtk_container_add (GTK_CONTAINER (workspace->priv->tab_grid),
GTK_WIDGET (tab));
gtk_widget_show (GTK_WIDGET (tab));
+ gtk_widget_grab_focus (GTK_WIDGET (tab));
g_clear_object (&file);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]