aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 1283acbc1..28af642b8 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -298,9 +298,13 @@ load_status_changed_cb (WebKitWebView *web_view,
EphyEmbed *embed)
{
WebKitLoadStatus status = webkit_web_view_get_load_status (web_view);
+ const char *address;
- if (status == WEBKIT_LOAD_COMMITTED)
+ if (status == 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);
+ }
}
#endif