[epiphany] embed: actually hide the progress bar for about: uris
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] embed: actually hide the progress bar for about: uris
- Date: Fri, 28 Feb 2014 09:23:37 +0000 (UTC)
commit 939cf573fe2c77d1d1aaf082edd7957a1db5fc79
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Feb 28 11:18:15 2014 +0200
embed: actually hide the progress bar for about: uris
If the progressbar was already visible, we'd never really hide it.
Do it now.
embed/ephy-embed.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 374884f..92a368d 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -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);
return;
+ }
progress = webkit_web_view_get_estimated_load_progress (priv->web_view);
loading = ephy_web_view_is_loading (EPHY_WEB_VIEW (priv->web_view));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]