nautilus-sendto r373 - in trunk: . src



Author: hadess
Date: Fri Dec 19 10:10:05 2008
New Revision: 373
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=373&view=rev

Log:
2008-12-19  Bastien Nocera  <hadess hadess net>

	* src/nautilus-sendto-command.c (set_contact_widgets):
	Try to avoid the handlers internal to the plugin not being run
	on occasions, as they were racing with the "activate" handler
	(Closes: #561487)



Modified:
   trunk/ChangeLog
   trunk/src/nautilus-sendto-command.c

Modified: trunk/src/nautilus-sendto-command.c
==============================================================================
--- trunk/src/nautilus-sendto-command.c	(original)
+++ trunk/src/nautilus-sendto-command.c	Fri Dec 19 10:10:05 2008
@@ -411,8 +411,8 @@
 		gtk_widget_hide (GTK_WIDGET(w));
 		ui->contact_widgets = g_list_append (ui->contact_widgets, w);
 		if (GTK_IS_ENTRY (w)) {
-			g_signal_connect (G_OBJECT (w), "activate",
-					G_CALLBACK (send_if_no_pack_cb), ui);
+			g_signal_connect_after (G_OBJECT (w), "activate",
+						G_CALLBACK (send_if_no_pack_cb), ui);
 		}
 	}
 }



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