From 4eb7355f3dd7d65c9d0514d4351a8662c34dbf0c Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 23 Oct 2013 09:47:31 +0200 Subject: [PATCH] Fixed different load percent in title and statusbar. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 459a91f..aa5c453 100644 --- a/src/main.c +++ b/src/main.c @@ -386,6 +386,7 @@ static void webview_download_progress_cb(WebKitWebView *view, GParamSpec *pspec) vb.state.progress /= g_list_length(vb.state.downloads); } vb_update_statusbar(); + update_title(); } static void webview_load_status_cb(WebKitWebView *view, GParamSpec *pspec) @@ -397,6 +398,7 @@ static void webview_load_status_cb(WebKitWebView *view, GParamSpec *pspec) /* update load progress in statusbar */ vb.state.progress = 0; vb_update_statusbar(); + update_title(); break; case WEBKIT_LOAD_COMMITTED: -- 2.20.1