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;
 
_______________________________________________
SVN-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Reply via email to