aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-11 04:46:12 +0800
committerXan Lopez <xan@gnome.org>2009-08-11 04:46:12 +0800
commitd1ae115956d42347107dc0d4dbe682281b648915 (patch)
tree1ea1fdcc34c5a3824bf931ba9aa8b21d36f734ad /embed
parent135c9fab5a8306ba0b44d799b5375c3bc965add1 (diff)
downloadgsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.tar
gsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.tar.gz
gsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.tar.bz2
gsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.tar.lz
gsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.tar.xz
gsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.tar.zst
gsoc2013-epiphany-d1ae115956d42347107dc0d4dbe682281b648915.zip
ephy-embed.c: add FIXME
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 5591c9410..f9f9c53b6 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -200,6 +200,11 @@ load_status_changed_cb (WebKitWebView *view,
ephy_web_view_set_security_level (EPHY_WEB_VIEW (view), security_level);
} else {
EphyWebViewNetState estate = EPHY_WEB_VIEW_STATE_UNKNOWN;
+ /* FIXME: this does not work for URLs opened without typing
+ (middle click, etc). We should use get_address, but WebKit does
+ not update its URI property until LOAD_COMMITTED, so we'll get
+ NULL here. We need to either change WebKit or fetch the address
+ we are trying to load from our side. */
const char *loading_uri = ephy_web_view_get_typed_address (EPHY_WEB_VIEW (view));
if (status == WEBKIT_LOAD_PROVISIONAL) {