diff options
author | Xan Lopez <xan@gnome.org> | 2009-06-14 06:04:41 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-06-14 06:04:41 +0800 |
commit | a1af750fa1343236fd81ea9c1b6962e8ebabd4af (patch) | |
tree | 34076370c0e37249f164860e616995a9e2601ece /embed/ephy-embed.c | |
parent | 44e17944c010fd3e4aeb2b3eacd6ccc0be624df8 (diff) | |
download | gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.tar gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.tar.gz gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.tar.bz2 gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.tar.lz gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.tar.xz gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.tar.zst gsoc2013-epiphany-a1af750fa1343236fd81ea9c1b6962e8ebabd4af.zip |
Get rid of redundant 'load-progress' property in EphyWebView.
We now use WebKitWebView's 'progress' property directly.
The "opening about:blank blinks the entry" bug is back because for
some reason a) webkit reports a 10% progress for that URL b) get_uri
reports NULL until 100% is loaded for only that page, so blacklisting
by URI is not possible either.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 9be89dd62..dbc4d1fee 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -254,15 +254,13 @@ load_started_cb (WebKitWebView *web_view, static void load_progress_changed_cb (WebKitWebView *web_view, - int progress, + GParamSpec *spec, EphyEmbed *embed) { EphyEmbed *wembed = EPHY_EMBED (embed); if (wembed->priv->load_state == EPHY_EMBED_LOAD_STARTED) wembed->priv->load_state = EPHY_EMBED_LOAD_LOADING; - - ephy_web_view_set_load_percent (EPHY_WEB_VIEW (web_view), progress); } static void @@ -767,7 +765,7 @@ ephy_embed_init (EphyEmbed *embed) "signal::load-committed", G_CALLBACK (load_committed_cb), embed, "signal::load-started", G_CALLBACK (load_started_cb), embed, "signal::load_finished", G_CALLBACK (load_finished_cb), embed, - "signal::load-progress-changed", G_CALLBACK (load_progress_changed_cb), embed, + "signal::notify::progress", G_CALLBACK (load_progress_changed_cb), embed, "signal::hovering-over-link", G_CALLBACK (hovering_over_link_cb), embed, "signal::mime-type-policy-decision-requested", G_CALLBACK (mime_type_policy_decision_requested_cb), embed, "signal::download-requested", G_CALLBACK (download_requested_cb), embed, |