aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c6
-rw-r--r--embed/ephy-web-view.c4
2 files changed, 7 insertions, 3 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
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index bcef40507..6a307e43c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -4078,7 +4078,7 @@ ephy_web_view_save (EphyWebView *view, const char *uri)
* ephy_web_view_load_homepage:
* @view: an #EphyWebView
*
- * Loads the homepage, which is hardcoded to be "about:blank"
+ * Loads the homepage, which is hardcoded to be "about:overview"
*
**/
void
@@ -4088,7 +4088,7 @@ ephy_web_view_load_homepage (EphyWebView *view)
ephy_web_view_set_visit_type (view,
EPHY_PAGE_VISIT_HOMEPAGE);
- ephy_web_view_load_url (view, "about:blank");
+ ephy_web_view_load_url (view, "about:overview");
}
/**