projects
/
tilda-gobject.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4583ff3
)
[Window] Focus new VteTerminals when adding a new tab
author
Ira W. Snyder
<devel@irasnyder.com>
Tue, 22 Jan 2008 19:40:50 +0000
(11:40 -0800)
committer
Ira W. Snyder
<devel@irasnyder.com>
Tue, 22 Jan 2008 19:40:50 +0000
(11:40 -0800)
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
patch
|
blob
|
history
diff --git
a/tilda-window.c
b/tilda-window.c
index
3c143e6
..
f0852aa
100644
(file)
--- 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;
}