set title at startup after registering callback
This commit is contained in:
parent
5959961302
commit
f823657340
1
term.c
1
term.c
|
@ -230,6 +230,7 @@ int main(int argc, char **argv) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DYNAMIC_TITLE
|
#ifdef DYNAMIC_TITLE
|
||||||
|
window_title_cb(VTE_TERMINAL(vte), GTK_WINDOW(window));
|
||||||
g_signal_connect(vte, "window-title-changed", G_CALLBACK(window_title_cb), window);
|
g_signal_connect(vte, "window-title-changed", G_CALLBACK(window_title_cb), window);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue