From e3f6305e0455b6c88b7ff3fc140d7d520f344a0b Mon Sep 17 00:00:00 2001 From: Jeremy O'Brien Date: Thu, 4 Jun 2009 23:51:34 -0400 Subject: [PATCH] Make progress bar show empty on start of page load Previously, when clicking on a link or opening a new URL, the user would not get any feedback showing that the command was taken until after a progress change, which could sometimes take a prolonged period of time. Now, the user is immediately alerted via the statusbar going to zero. --- uzbl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/uzbl.c b/uzbl.c index a1f1bab..4c37f08 100644 --- a/uzbl.c +++ b/uzbl.c @@ -545,6 +545,7 @@ load_start_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data) { (void) page; (void) frame; (void) data; + uzbl.gui.sbar.load_progress = 0; g_string_truncate(uzbl.state.keycmd, 0); // don't need old commands to remain on new page? if (uzbl.behave.load_start_handler) run_handler(uzbl.behave.load_start_handler, ""); -- 1.7.9.5