diff options
author | vain <scm@uninformativ.de> | 2017-04-27 18:18:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 18:18:49 +0200 |
commit | eed8e140d589a11d9880390d8aafbaadcde5b3ee (patch) | |
tree | bd420c7b1196f2141ed398c1ac9ba0d5e5f23717 | |
parent | 85c7e25761f35eec5f1d7ed1f472636f650f1ecb (diff) | |
parent | 3434c7365a4ecbbfa86a792569b65b9203273ff7 (diff) | |
download | lariza-eed8e140d589a11d9880390d8aafbaadcde5b3ee.tar.gz |
Merge pull request #39 from onodera-punpun/load
Hide progress bar once the webpage has finished loading
-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); } |