[epiphany] e-embed: hide progress for about and ephy-about



commit 5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Sun Dec 9 15:06:17 2012 -0500

    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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index da56dd8..b70bd4d 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]