From 5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0 Mon Sep 17 00:00:00 2001
From: Diego Escalante Urrelo <diegoe@igalia.com>
Date: Sun, 9 Dec 2012 15:06:17 -0500
Subject: e-embed: hide progress for about and ephy-about

The progressbar should only react to pages, not special locations.

https://bugzilla.gnome.org/show_bug.cgi?id=685747
---
 embed/ephy-embed.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'embed/ephy-embed.c')

diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index da56dd81b..b70bd4d41 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -819,7 +819,8 @@ progress_update (EphyWebView *view, GParamSpec *pspec, EphyEmbed *embed)
   }
 
   uri = webkit_web_view_get_uri (priv->web_view);
-  if (!uri || g_str_equal (uri, "about:blank"))
+  if (!uri || g_str_has_prefix (uri, "ephy-about:") ||
+      g_str_has_prefix (uri, "about:"))
     return;
 
 #ifdef HAVE_WEBKIT2
-- 
cgit v1.2.3