diff options
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 229a14bb3..d96d4fe90 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1287,13 +1287,16 @@ uri_changed_cb (WebKitWebView *web_view, char *uri; const char *current_address; -#ifdef HAVE_WEBKIT2 /* We already update the URI manually while loading, so only * update the URI when it changes after the page has been loaded * which is usually the result of navigation within the same page action. */ +#ifdef HAVE_WEBKIT2 if (webkit_web_view_is_loading (web_view)) return; +#else + if (webkit_web_view_get_load_status (web_view) == WEBKIT_LOAD_COMMITTED) + return; #endif /* We need to check if we get URI notifications without going |