From bbe9c96a826cd775c2c7f92e8f0ec0a3d6153fe3 Mon Sep 17 00:00:00 2001 From: Raphael Graf Date: Sat, 16 Apr 2011 10:10:42 +0000 Subject: Fix window-title and tab-label of the 'about:blank' page. ok marco@ --- xxxterm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xxxterm.c b/xxxterm.c index 241869e..2429ea7 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -5942,6 +5942,9 @@ notify_title_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t) if (set) { gtk_label_set_text(GTK_LABEL(t->label), set); gtk_window_set_title(GTK_WINDOW(main_window), set); + } else { + gtk_label_set_text(GTK_LABEL(t->label), "(untitled)"); + gtk_window_set_title(GTK_WINDOW(main_window), XT_NAME); } } -- cgit 1.4.1-2-gfad0