Troels Henriksen <[email protected]> wrote:
> Thanks, applied.
>
In loadstatuschange, progress is set to 0 when a page finishes loading.
This causes update to prefix a "[0%]" to title even when not needed.
The attached patch removes this behavior.
diff -up surf/surf.c surf2/surf.c
--- surf/surf.c Tue Jan 17 16:33:11 2012
+++ surf2/surf.c Tue Jan 17 16:42:26 2012
@@ -401,7 +401,6 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspe
setatom(c, AtomUri, uri);
break;
case WEBKIT_LOAD_FINISHED:
- c->progress = 0;
update(c);
break;
default: