From aef05e105fb157d8856863c7858d1ce596bd6f2e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Sep 2017 05:07:42 -0400 Subject: src/tab-chrome.[ch]: Hack around progress bar issue If loading fails, the WebKitWebView's "estimated-load-progress" is set to 1.0 after signals like "load-changed" and "load-failed" are emitted. So the only way to avoid leaving behind a full progress bar after, for example, canceling a page load is to save a flag on a failed load and only update the progress bar if the flag is unset. --- (limited to 'src/window.c') -- cgit v0.9.1