aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-23 23:51:45 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:01 +0800
commit3005b30e3f657618f506eac9320cf54b86b9c0ed (patch)
tree249c8c730d1f35e1a14dba542d4696f765580a47 /embed/ephy-embed.c
parent09b60aea4d1ad8349e18b17cfb3f7ca5d68498cf (diff)
downloadgsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.tar
gsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.tar.gz
gsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.tar.bz2
gsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.tar.lz
gsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.tar.xz
gsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.tar.zst
gsoc2013-epiphany-3005b30e3f657618f506eac9320cf54b86b9c0ed.zip
Add about:overview to actually go to overview 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