diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-01 09:40:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-01 10:54:30 +0800 |
commit | c53fd13220a177dedacca7b702c6dde5eb0a47f1 (patch) | |
tree | f4c6181f947360054cff9d7f9aea506694215463 /modules | |
parent | a1dd1897d50f11ab891b2052313d4b17e0d99b5a (diff) | |
download | gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.tar gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.tar.gz gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.tar.bz2 gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.tar.lz gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.tar.xz gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.tar.zst gsoc2013-evolution-c53fd13220a177dedacca7b702c6dde5eb0a47f1.zip |
EMailReader: Add a get_alert_sink() method.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-content.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c index 2872da53bd..9ec0cb80f8 100644 --- a/modules/mail/e-mail-shell-content.c +++ b/modules/mail/e-mail-shell-content.c @@ -269,6 +269,20 @@ mail_shell_content_get_action_group (EMailReader *reader) return E_SHELL_WINDOW_ACTION_GROUP_MAIL (shell_window); } +static EAlertSink * +mail_shell_content_get_alert_sink (EMailReader *reader) +{ + EMailShellContentPrivate *priv; + + priv = E_MAIL_SHELL_CONTENT_GET_PRIVATE (reader); + + /* Forward this to our internal EMailView, which + * also implements the EMailReader interface. */ + reader = E_MAIL_READER (priv->mail_view); + + return e_mail_reader_get_alert_sink (reader); +} + static EMailBackend * mail_shell_content_get_backend (EMailReader *reader) { @@ -450,6 +464,7 @@ static void mail_shell_content_reader_init (EMailReaderInterface *interface) { interface->get_action_group = mail_shell_content_get_action_group; + interface->get_alert_sink = mail_shell_content_get_alert_sink; interface->get_backend = mail_shell_content_get_backend; interface->get_formatter = mail_shell_content_get_formatter; interface->get_hide_deleted = mail_shell_content_get_hide_deleted; |