diff options
author | Camille Scholtz <camille@airmail.cc> | 2017-04-26 22:27:56 +0200 |
---|---|---|
committer | Camille Scholtz <camille@airmail.cc> | 2017-04-26 22:27:56 +0200 |
commit | 3434c7365a4ecbbfa86a792569b65b9203273ff7 (patch) | |
tree | bd420c7b1196f2141ed398c1ac9ba0d5e5f23717 /browser.c | |
parent | 85c7e25761f35eec5f1d7ed1f472636f650f1ecb (diff) | |
download | lariza-3434c7365a4ecbbfa86a792569b65b9203273ff7.tar.gz |
Hide progress bar once the webpage has finished loading
Diffstat (limited to 'browser.c')
-rw-r--r-- | browser.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |