diff options
author | Raphael Graf <r@undefined.ch> | 2011-04-16 10:10:42 +0000 |
---|---|---|
committer | Raphael Graf <r@undefined.ch> | 2011-04-16 10:10:42 +0000 |
commit | bbe9c96a826cd775c2c7f92e8f0ec0a3d6153fe3 (patch) | |
tree | 841db92c08f798640f66c4d46d3bbbefa8422f4c | |
parent | 6fa890e49403a7ecd55b7e51f9d5fb2306d8eff2 (diff) | |
download | xombrero-bbe9c96a826cd775c2c7f92e8f0ec0a3d6153fe3.tar.gz |
Fix window-title and tab-label of the 'about:blank' page.
ok marco@
-rw-r--r-- | xxxterm.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } } |