aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-01-09 05:22:06 +0800
committerXan Lopez <xan@src.gnome.org>2008-01-09 05:22:06 +0800
commit00a6ae4ccf4be271165755d6866211c708cc09f7 (patch)
tree7caaab4c17f41603a3b3a6f1827fa91e6ab03b04 /src
parentd5b9f2e35a4b297e30ce01ed0a8567b0f979375e (diff)
downloadgsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.tar
gsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.tar.gz
gsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.tar.bz2
gsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.tar.lz
gsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.tar.xz
gsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.tar.zst
gsoc2013-epiphany-00a6ae4ccf4be271165755d6866211c708cc09f7.zip
Don't use net-stop signal, it's gone. Switch to notify::load-status
svn path=/trunk/; revision=7855
Diffstat (limited to 'src')
-rw-r--r--src/ephy-encoding-dialog.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index d58a43fc7..157bad6f0 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -164,9 +164,12 @@ sync_encoding_against_embed (EphyEncodingDialog *dialog)
static void
-embed_net_stop_cb (EphyEmbed *embed, EphyEncodingDialog *dialog)
+embed_net_stop_cb (EphyEmbed *embed,
+ GParamSpec *pspec,
+ EphyEncodingDialog *dialog)
{
- sync_encoding_against_embed (dialog);
+ if (ephy_embed_get_load_status (embed) == FALSE)
+ sync_encoding_against_embed (dialog);
}
static void
@@ -182,7 +185,7 @@ sync_embed_cb (EphyEncodingDialog *dialog, GParamSpec *pspec, gpointer dummy)
dialog);
}
- g_signal_connect (G_OBJECT (embed), "net_stop",
+ g_signal_connect (G_OBJECT (embed), "notify::load-status",
G_CALLBACK (embed_net_stop_cb), dialog);
dialog->priv->embed = embed;