aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/folder-browser.c10
-rw-r--r--mail/subscribe-dialog.c4
3 files changed, 15 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 906bda8639..bde92669dc 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,13 @@
2000-12-08 Christopher James Lahey <clahey@helixcode.com>
+ * 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.
+
+2000-12-08 Christopher James Lahey <clahey@helixcode.com>
+
* message-list.c: Connect to signals on the ETable instead of the
ETableScrolled.
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);
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index 6f4dde25c0..3d85e265bd 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -952,7 +952,7 @@ subscribe_dialog_gui_init (SubscribeDialog *sc)
gtk_object_sink (GTK_OBJECT (extras));
- gtk_signal_connect (GTK_OBJECT (E_TABLE_SCROLLED (sc->store_etable)->table),
+ gtk_signal_connect (GTK_OBJECT (e_table_scrolled_get_table(E_TABLE_SCROLLED (sc->store_etable))),
"cursor_change", GTK_SIGNAL_FUNC (storage_selected_cb),
sc);
@@ -999,7 +999,7 @@ subscribe_dialog_gui_init (SubscribeDialog *sc)
gdk_pixbuf_unref(toggles[0]);
gdk_pixbuf_unref(toggles[1]);
- gtk_signal_connect (GTK_OBJECT (E_TABLE_SCROLLED (sc->folder_etable)->table),
+ gtk_signal_connect (GTK_OBJECT (e_table_scrolled_get_table(E_TABLE_SCROLLED (sc->folder_etable))),
"double_click", GTK_SIGNAL_FUNC (folder_toggle_cb),
sc);
gtk_table_attach (