epiphany r7855 - trunk/src
- From: xan svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r7855 - trunk/src
- Date: Tue, 8 Jan 2008 21:22:07 +0000 (GMT)
Author: xan
Date: Tue Jan 8 21:22:06 2008
New Revision: 7855
URL: http://svn.gnome.org/viewvc/epiphany?rev=7855&view=rev
Log:
Don't use net-stop signal, it's gone. Switch to notify::load-status
Modified:
trunk/src/ephy-encoding-dialog.c
Modified: trunk/src/ephy-encoding-dialog.c
==============================================================================
--- trunk/src/ephy-encoding-dialog.c (original)
+++ trunk/src/ephy-encoding-dialog.c Tue Jan 8 21:22:06 2008
@@ -164,9 +164,12 @@
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 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]