diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2010-07-14 16:17:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-26 09:29:59 +0800 |
commit | b9564c4d01c08c976e01256b308e3f2891c6e164 (patch) | |
tree | 90999088a74fb9f7f7d4064af0a0431b412ca85c /mail/e-mail-reader.c | |
parent | 75de89ef04f0bd69fe5d33919e281bdb8c30bd9e (diff) | |
download | gsoc2013-evolution-b9564c4d01c08c976e01256b308e3f2891c6e164.tar.gz gsoc2013-evolution-b9564c4d01c08c976e01256b308e3f2891c6e164.tar.zst gsoc2013-evolution-b9564c4d01c08c976e01256b308e3f2891c6e164.zip |
Add folder pane for tabbed browser.
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index a9ff239dd4..849695da78 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -607,7 +607,7 @@ static void action_mail_message_open_cb (GtkAction *action, EMailReader *reader) { - e_mail_reader_open_selected (reader); + e_mail_reader_open_selected_mail (reader); } static void @@ -2722,6 +2722,7 @@ mail_reader_class_init (EMailReaderIface *iface) iface->get_folder_uri = mail_reader_get_folder_uri; iface->set_folder = mail_reader_set_folder; iface->set_message = mail_reader_set_message; + iface->open_selected_mail = e_mail_reader_open_selected; iface->update_actions = mail_reader_update_actions; g_object_interface_install_property ( @@ -3431,6 +3432,19 @@ e_mail_reader_set_message (EMailReader *reader, iface->set_message (reader, uid); } +void +e_mail_reader_open_selected_mail (EMailReader *reader) +{ + EMailReaderIface *iface; + + g_return_if_fail (E_IS_MAIL_READER (reader)); + + iface = E_MAIL_READER_GET_IFACE (reader); + g_return_if_fail (iface->open_selected_mail != NULL); + + iface->open_selected_mail (reader); +} + gboolean e_mail_reader_get_group_by_threads (EMailReader *reader) { |