commit 6f7d897011cf9a87d42625118c0c5be60fe6e46d
Author: Alejandro G. Castro <alex@igalia.com>
Date:   Tue Feb 9 19:40:58 2010 +0100

    Handle LOAD_FAILED status
    
    Modified the state of the webivew in case the load failed to avoid
    keeping the old title or icon in that situation.
    
    Bug #593743

diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index a0f4130..d59fec2 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1992,6 +1992,21 @@ load_status_cb (WebKitWebView *web_view,
 
     _ephy_web_view_hook_into_links (eview);
     break;
+  case WEBKIT_LOAD_FAILED:
+    g_object_freeze_notify (object);
+
+    g_free (priv->status_message);
+    ephy_web_view_set_link_message (eview, NULL);
+    _ephy_web_view_set_icon_address (eview, NULL);
+    ephy_web_view_set_title (eview, _("Problem loading page"));
+    ephy_web_view_set_loading_title (eview, NULL, FALSE);
+    priv->status_message = NULL;
+    g_object_notify (object, "status-message");
+
+    update_navigation_flags (eview);
+
+    g_object_thaw_notify (object);
+    break;
   default:
     break;
   }
