empathy r2786 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Apr 10 16:54:14 2009
New Revision: 2786
URL: http://svn.gnome.org/viewvc/empathy?rev=2786&view=rev

Log:
Ensure ::changed is connected on both the entry and the combo

From: Davyd Madeley <davyd madeley id au>

Modified:
   trunk/libempathy-gtk/empathy-presence-chooser.c

Modified: trunk/libempathy-gtk/empathy-presence-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-presence-chooser.c	(original)
+++ trunk/libempathy-gtk/empathy-presence-chooser.c	Fri Apr 10 16:54:14 2009
@@ -501,6 +501,8 @@
 			G_CALLBACK (popup_shown_cb), NULL);
 	g_signal_connect (chooser, "changed",
 			G_CALLBACK (changed_cb), NULL);
+	g_signal_connect_swapped (entry, "changed",
+			G_CALLBACK (changed_cb), chooser);
 
 	priv->idle = empathy_idle_dup_singleton ();
 	presence_chooser_presence_changed_cb (chooser);



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