[Telepathy] [PATCH 9/9] Chooser: (cosmetics) signals definition, first entry, then chooser

Niv Sardi xaiki at debian.org
Mon Jun 8 13:31:44 PDT 2009


Signed-off-by: Niv Sardi <xaiki at debian.org>
---
 libempathy-gtk/empathy-presence-chooser.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index 7e96c4e..7bad48f 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -799,6 +799,9 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser)
 	g_signal_connect_swapped (entry, "button-press-event",
 		G_CALLBACK (presence_chooser_entry_button_press_event_cb),
 		chooser);
+	g_signal_connect_swapped (entry, "changed",
+			G_CALLBACK (presence_chooser_entry_changed_cb),
+			chooser);
 
 	empathy_chooser_setup_cell_layout (GTK_CELL_LAYOUT (chooser));
 
@@ -806,9 +809,6 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser)
 			G_CALLBACK (presence_chooser_popup_shown_cb), NULL);
 	g_signal_connect (chooser, "changed",
 			G_CALLBACK (presence_chooser_changed_cb), NULL);
-	g_signal_connect_swapped (entry, "changed",
-			G_CALLBACK (presence_chooser_entry_changed_cb),
-			chooser);
 	g_signal_connect_swapped (entry, "focus-out-event",
 			G_CALLBACK (presence_chooser_entry_focus_out_cb),
 			chooser);
-- 
1.6.3.1



More information about the telepathy mailing list