aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-embed.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 28af642b8..cd1174884 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -288,8 +288,13 @@ load_changed_cb (WebKitWebView *web_view,
WebKitLoadEvent load_event,
EphyEmbed *embed)
{
- if (load_event == WEBKIT_LOAD_COMMITTED)
+ const char *address;
+
+ if (load_event == WEBKIT_LOAD_COMMITTED) {
ephy_embed_destroy_top_widgets (embed);
+ address = ephy_web_view_get_address (EPHY_WEB_VIEW (web_view));
+ ephy_embed_set_overview_mode (embed, strcmp (address, "about:overview") == 0);
+ }
}
#else
static void