From 8c20b1c90993f3e691f8b183deae1a16fd748d94 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Tue, 22 Oct 2013 21:34:02 +0200 Subject: [PATCH] Show url in window title until page title is received. --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index 515bea4..459a91f 100644 --- a/src/main.c +++ b/src/main.c @@ -216,6 +216,10 @@ gboolean vb_load_uri(const Arg *arg) } else { /* Load a web page into the browser instance */ webkit_web_view_load_uri(vb.gui.webview, uri); + /* show the url to be opened in the windo title until we receive the + * page title */ + OVERWRITE_STRING(vb.state.title, uri); + update_title(); } g_free(uri); -- 2.20.1