From 515f2ee756a374469626870a23ffac2f07932994 Mon Sep 17 00:00:00 2001 From: "Todd T. Fries" Date: Wed, 13 Jun 2012 12:09:17 -0500 Subject: set progress unconditionally on both statusbar and url_entry given we don't check on hide/show if we need to set the proper progress indicator --- xombrero.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'xombrero.c') diff --git a/xombrero.c b/xombrero.c index 324dd82..3d3d19e 100644 --- a/xombrero.c +++ b/xombrero.c @@ -4330,13 +4330,10 @@ webview_load_finished_cb(WebKitWebView *wv, WebKitWebFrame *wf, struct tab *t) void webview_progress_changed_cb(WebKitWebView *wv, int progress, struct tab *t) { - if (show_url == 0) { - gtk_entry_set_progress_fraction(GTK_ENTRY(t->sbe.statusbar), - progress == 100 ? 0 : (double)progress / 100); - } else { - gtk_entry_set_progress_fraction(GTK_ENTRY(t->uri_entry), - progress == 100 ? 0 : (double)progress / 100); - } + gtk_entry_set_progress_fraction(GTK_ENTRY(t->sbe.statusbar), + progress == 100 ? 0 : (double)progress / 100); + gtk_entry_set_progress_fraction(GTK_ENTRY(t->uri_entry), + progress == 100 ? 0 : (double)progress / 100); update_statusbar_position(NULL, NULL); } -- cgit 1.4.1-2-gfad0