aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-12-10 04:06:17 +0800
committerDiego Escalante Urrelo <diegoe@gnome.org>2013-01-05 05:11:46 +0800
commit5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0 (patch)
treebcb12279093752cddc8f26fe217f4555c3ab5700
parent2a5f1034f247b69ddfd8be6b9f312c5bea1d0c86 (diff)
downloadgsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.tar
gsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.tar.gz
gsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.tar.bz2
gsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.tar.lz
gsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.tar.xz
gsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.tar.zst
gsoc2013-epiphany-5032d8a8a6505c4f9966589d6b6bb812b2d9c0c0.zip
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
-rw-r--r--embed/ephy-embed.c3
1 files changed, 2 insertions, 1 deletions
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