Commit 939cf573 authored by Claudio Saavedra's avatar Claudio Saavedra

embed: actually hide the progress bar for about: uris

If the progressbar was already visible, we'd never really hide it.
Do it now.
parent e33810c8
......@@ -559,8 +559,10 @@ progress_update (EphyWebView *view, GParamSpec *pspec, EphyEmbed *embed)
uri = webkit_web_view_get_uri (priv->web_view);
if (!uri || g_str_has_prefix (uri, "ephy-about:") ||
g_str_has_prefix (uri, "about:"))
g_str_has_prefix (uri, "about:")) {
gtk_widget_hide (priv->progress);
progress = webkit_web_view_get_estimated_load_progress (priv->web_view);
loading = ephy_web_view_is_loading (EPHY_WEB_VIEW (priv->web_view));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment