--- surf.c.orig 2010-06-08 09:06:42.000000000 +0200 +++ surf.c 2012-01-24 17:08:00.178631782 +0100 @@ -248,7 +248,7 @@ uri = geturi(c); w = c->indicator; - width = c->progress * w->allocation.width / 100; + width = c->progress == 100 ? 0 : c->progress * w->allocation.width / 100; gc = gdk_gc_new(w->window); gdk_color_parse(strstr(uri, "https://") == uri ? progress_trust : progress, &fg); @@ -372,7 +372,7 @@ setatom(c, AtomUri, geturi(c)); break; case WEBKIT_LOAD_FINISHED: - c->progress = 0; + c->progress = 100; update(c); break; default: