summaryrefslogtreecommitdiff
path: root/browser.c
diff options
context:
space:
mode:
authorCamille Scholtz <camille@airmail.cc>2017-04-26 22:27:56 +0200
committerCamille Scholtz <camille@airmail.cc>2017-04-26 22:27:56 +0200
commit3434c7365a4ecbbfa86a792569b65b9203273ff7 (patch)
treebd420c7b1196f2141ed398c1ac9ba0d5e5f23717 /browser.c
parent85c7e25761f35eec5f1d7ed1f472636f650f1ecb (diff)
downloadlariza-3434c7365a4ecbbfa86a792569b65b9203273ff7.tar.gz
Hide progress bar once the webpage has finished loading
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/browser.c b/browser.c
index 02b20d2..2903f97 100644
--- a/browser.c
+++ b/browser.c
@@ -322,6 +322,7 @@ changed_load_progress(GObject *obj, GParamSpec *pspec, gpointer data)
gdouble p;
p = webkit_web_view_get_estimated_load_progress(WEBKIT_WEB_VIEW(c->web_view));
+ if (p == 1) p = 0;
gtk_entry_set_progress_fraction(GTK_ENTRY(c->location), p);
}