From 3fb451ad92ec8175e987b27aa67ed8acc7e22aa8 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 8 Dec 2000 21:33:35 +0000 Subject: Connect to signals on the ETable instead of the ETableScrolled. 2000-12-08 Christopher James Lahey * folder-browser.c: Connect to signals on the ETable instead of the ETableScrolled. * subscribe-dialog.c: Used the e_table_scrolled_get_table function instead of accessing the variable directly. svn path=/trunk/; revision=6873 --- mail/folder-browser.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/folder-browser.c') diff --git a/mail/folder-browser.c b/mail/folder-browser.c index adc71fc72d..5b032b22aa 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -723,14 +723,14 @@ my_folder_browser_init (GtkObject *object) fb->message_list = (MessageList *)message_list_new (); fb->mail_display = (MailDisplay *)mail_display_new (); - gtk_signal_connect (GTK_OBJECT (fb->message_list->etable), + gtk_signal_connect (GTK_OBJECT (e_table_scrolled_get_table(E_TABLE_SCROLLED(fb->message_list->etable))), "key_press", GTK_SIGNAL_FUNC (etable_key), fb); - gtk_signal_connect (GTK_OBJECT (fb->message_list->etable), "right_click", - GTK_SIGNAL_FUNC (on_right_click), fb); + gtk_signal_connect (GTK_OBJECT (e_table_scrolled_get_table(E_TABLE_SCROLLED(fb->message_list->etable))), + "right_click", GTK_SIGNAL_FUNC (on_right_click), fb); - gtk_signal_connect (GTK_OBJECT (fb->message_list->etable), "double_click", - GTK_SIGNAL_FUNC (on_double_click), fb); + gtk_signal_connect (GTK_OBJECT (e_table_scrolled_get_table(E_TABLE_SCROLLED(fb->message_list->etable))), + "double_click", GTK_SIGNAL_FUNC (on_double_click), fb); gtk_signal_connect (GTK_OBJECT(fb->message_list), "message_selected", on_message_selected, fb); -- cgit