Show a minimum amount of progress even when request count would be 0.

This commit is contained in:
Marco Pesenti Gritti 2006-10-20 16:21:10 +02:00
parent e4c6a5befa
commit a5fab157ee

View File

@ -214,9 +214,10 @@ net_state_cb(GtkMozEmbed *embed, const char *aURI, gint state, guint status)
browser->total_requests = 0;
browser->current_requests = 0;
sugar_browser_set_progress(browser, 0.0);
sugar_browser_set_progress(browser, 0.03);
sugar_browser_set_loading(browser, TRUE);
} else if (state & GTK_MOZ_EMBED_FLAG_STOP) {
sugar_browser_set_progress(browser, 100.0);
sugar_browser_set_loading(browser, FALSE);
}
}