about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xombrero.c b/xombrero.c
index 369203e..ba47aac 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -4464,9 +4464,9 @@ webview_progress_changed_cb(WebKitWebView *wv, GParamSpec *pspec, struct tab *t)
 
 	progress = webkit_web_view_get_progress(wv);
 	gtk_entry_set_progress_fraction(GTK_ENTRY(t->sbe.uri),
-	    progress == 1.0 ? 0 : progress);
+	    progress > (1.0 - 0.0001) ? 0 : progress);
 	gtk_entry_set_progress_fraction(GTK_ENTRY(t->uri_entry),
-	    progress == 1.0 ? 0 : progress);
+	    progress > (1.0 - 0.0001) ? 0 : progress);
 
 	update_statusbar_position(NULL, NULL);
 }