[gnome-builder] GbEditorTab: grab focus of first frame after removing 2nd frame.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] GbEditorTab: grab focus of first frame after removing 2nd frame.
- Date: Tue, 2 Dec 2014 21:43:12 +0000 (UTC)
commit 0f420f6340fd329081e198b3c0aa46d87fbc4eaa
Author: Christian Hergert <christian hergert me>
Date: Tue Dec 2 03:01:49 2014 -0800
GbEditorTab: grab focus of first frame after removing 2nd frame.
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 823fe10..70f7e55 100644
--- a/src/editor/gb-editor-tab.c
+++ b/src/editor/gb-editor-tab.c
@@ -362,6 +362,7 @@ gb_editor_tab_on_split_toggled (GbEditorTab *tab,
if (child2)
{
gtk_container_remove (GTK_CONTAINER (priv->paned), child2);
+ gtk_widget_grab_focus (GTK_WIDGET (tab->priv->frame));
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]