epiphany r8658 - trunk/lib/widgets



Author: xan
Date: Wed Dec 31 19:12:30 2008
New Revision: 8658
URL: http://svn.gnome.org/viewvc/epiphany?rev=8658&view=rev

Log:
Use connect_after when connecting to drag-begin so we can override the
pixmap that GtkEntry sets in DnD.

Modified:
   trunk/lib/widgets/ephy-location-entry.c

Modified: trunk/lib/widgets/ephy-location-entry.c
==============================================================================
--- trunk/lib/widgets/ephy-location-entry.c	(original)
+++ trunk/lib/widgets/ephy-location-entry.c	Wed Dec 31 19:12:30 2008
@@ -834,8 +834,8 @@
 
 	g_signal_connect (priv->entry, "drag-data-get",
 			  G_CALLBACK (favicon_drag_data_get_cb), lentry);
-	g_signal_connect (priv->entry, "drag-begin",
-			  G_CALLBACK (favicon_drag_begin_cb), lentry);
+	g_signal_connect_after (priv->entry, "drag-begin",
+				G_CALLBACK (favicon_drag_begin_cb), lentry);
 
 	gtk_entry_set_icon_tooltip_text (GTK_ENTRY (priv->entry),
 					 GTK_ENTRY_ICON_PRIMARY,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]