aboutsummaryrefslogtreecommitdiffstats
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
parent0706064e2632c0828d2e53a497ce03100bed0828 (diff)
downloadgsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar
gsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar.gz
gsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar.bz2
gsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar.lz
gsoc2013-epiphany-b90fc83ec72f99244a2d93c5c735a380cfe31d10.tar.xz
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.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-tab.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index edbcb4db6..877ef8567 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-07 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-tab.c: (build_progress_from_requests):
+
+ Fix progress update logic.
+
2003-07-07 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/ephy-types.h:
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);
}