From 046561900e6f85a79490627fb04d38e42852d6a0 Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Tue, 22 Jan 2008 11:40:50 -0800 Subject: [PATCH] [Window] Focus new VteTerminals when adding a new tab Previously, whenever a new tab was added, the notebook page was given the in-window focus. The focus should have been given to the VteTerminal. --- tilda-window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tilda-window.c b/tilda-window.c index 3c143e6..f0852aa 100644 --- a/tilda-window.c +++ b/tilda-window.c @@ -104,6 +104,9 @@ tilda_window_add_terminal (TildaWindow *self) if (gtk_notebook_get_n_pages (GTK_NOTEBOOK(self->notebook)) > 1) gtk_notebook_set_show_tabs (GTK_NOTEBOOK(self->notebook), TRUE); + /* Focus the VTE Terminal */ + gtk_widget_grab_focus (tt->vte_term); + return TRUE; } -- 2.34.1