[gnome-builder] notebook: focus the tab when selecting it.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] notebook: focus the tab when selecting it.
- Date: Mon, 15 Sep 2014 21:53:45 +0000 (UTC)
commit 9678cc2f76265ec71535aa702ee17e3fda44674c
Author: Christian Hergert <christian hergert me>
Date: Mon Sep 15 14:53:39 2014 -0700
notebook: focus the tab when selecting it.
src/tabs/gb-multi-notebook.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tabs/gb-multi-notebook.c b/src/tabs/gb-multi-notebook.c
index 1bbc888..cf2416d 100644
--- a/src/tabs/gb-multi-notebook.c
+++ b/src/tabs/gb-multi-notebook.c
@@ -648,6 +648,7 @@ select_tab (GbNotebook *notebook,
"position", &position,
NULL);
gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), position);
+ gtk_widget_grab_focus (GTK_WIDGET (tab));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]