aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-09 05:33:35 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-09 05:33:35 +0800
commit3fb451ad92ec8175e987b27aa67ed8acc7e22aa8 (patch)
treee7960336e598bc5cbe94b2d4723f11c9d7f3e546
parentd65526d2708c57078b63e557530a715aa2932052 (diff)
downloadgsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.tar
gsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.tar.gz
gsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.tar.bz2
gsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.tar.lz
gsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.tar.xz
gsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.tar.zst
gsoc2013-evolution-3fb451ad92ec8175e987b27aa67ed8acc7e22aa8.zip
Connect to signals on the ETable instead of the ETableScrolled.
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. svn path=/trunk/; revision=6873
-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 (