[empathy] Add missing signal to EmpathyMainWindow



commit 26b67edf41dec99963ee6ac8463ad9c2b93fa243
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Thu Jun 24 20:41:20 2010 +1000

    Add missing signal to EmpathyMainWindow

 src/empathy-main-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index b8033a2..5656124 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1501,8 +1501,10 @@ empathy_main_window_init (EmpathyMainWindow *window)
 	gtk_container_add (GTK_CONTAINER (window), priv->main_vbox);
 	gtk_widget_show (priv->main_vbox);
 
+	g_signal_connect (window, "key-press-event",
+			  G_CALLBACK (main_window_key_press_event_cb), NULL);
+
 	empathy_builder_connect (gui, window,
-			      "main_window", "key-press-event", main_window_key_press_event_cb,
 			      "chat_quit", "activate", main_window_chat_quit_cb,
 			      "chat_new_message", "activate", main_window_chat_new_message_cb,
 			      "chat_new_call", "activate", main_window_chat_new_call_cb,



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