[epiphany] ephy-web-view.c: also allow to expire addresses after a new PROVISIONAL status



commit 17c9c0c80a059b2089318fc20ed1068bfba8761a
Author: Xan Lopez <xan gnome org>
Date:   Thu Sep 10 19:56:15 2009 +0300

    ephy-web-view.c: also allow to expire addresses after a new PROVISIONAL status
    
    Otherwise the typed address would get stuck if you tried to load a
    page while another was already loading, ie:
    
    - Load URL.
    - While it's loading, Ctrl+L, type something else, Enter.
    - The new page will load, but the typed address won't be replaced with
      the full address as usual. This is particularly bad when you type a
      few letters and complete the URL in the dropdown.

 embed/ephy-web-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 499fb86..f95c4b1 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1392,6 +1392,8 @@ ephy_web_view_update_from_net_state (EphyWebView *view,
 
       ensure_page_info (view, uri);
 
+      priv->expire_address_now = TRUE;
+
       g_object_notify (object, "embed-title");
 
       g_object_thaw_notify (object);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]