set title at startup after registering callback

This commit is contained in:
Daniel Micay 2012-05-22 08:26:53 -04:00
parent 5959961302
commit f823657340
1 changed files with 1 additions and 0 deletions

1
term.c
View File

@ -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