diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-09-12 16:12:26 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-09-12 16:12:26 +0800 |
commit | c193a5df3dc970de22c8b0eb773e41a9dc98d877 (patch) | |
tree | d01fce2783b8fb428f4b455cb0366132987a9d37 | |
parent | b73d44ae204df099a53f91ec23b067752858ac3f (diff) | |
download | gsoc2013-epiphany-c193a5df3dc970de22c8b0eb773e41a9dc98d877.tar.gz gsoc2013-epiphany-c193a5df3dc970de22c8b0eb773e41a9dc98d877.tar.zst gsoc2013-epiphany-c193a5df3dc970de22c8b0eb773e41a9dc98d877.zip |
ephy-embed: show the overview when using wk2
This was neglected before, fix.
-rw-r--r-- | embed/ephy-embed.c | 7 |
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 |