aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-08 01:06:08 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-08 01:06:08 +0800
commitb90fc83ec72f99244a2d93c5c735a380cfe31d10 (patch)
tree0d09f9964236f3cf11ced034a54746013791d78e /src
parent0706064e2632c0828d2e53a497ce03100bed0828 (diff)
downloadgsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar.gz
gsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar.zst
gsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.zip
Fix progress update logic.
2003-07-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (build_progress_from_requests): Fix progress update logic.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 85f4bceb9..df8a6f9c7 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -700,7 +700,7 @@ build_progress_from_requests (EphyTab *tab, EmbedState state)
load_percent = build_load_percent (tab->priv->cur_requests,
tab->priv->total_requests);
- if (load_percent > tab->priv->load_percent)
+ if (load_percent > tab->priv->load_percent || load_percent == -1)
{
ephy_tab_set_load_percent (tab, load_percent);
}