aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-paned-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-11-01 09:40:42 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:20 +0800
commiteb5f523bd7c3b297ce2d6321049aa4900729f098 (patch)
tree4a4486ae2b206b6723448c358bcfb40f978eb477 /mail/e-mail-paned-view.c
parent63849151cddae5c40bc77b27df8996b143b727d9 (diff)
downloadgsoc2013-evolution-eb5f523bd7c3b297ce2d6321049aa4900729f098.tar.gz
gsoc2013-evolution-eb5f523bd7c3b297ce2d6321049aa4900729f098.tar.zst
gsoc2013-evolution-eb5f523bd7c3b297ce2d6321049aa4900729f098.zip
EMailReader: Add a get_alert_sink() method.
Diffstat (limited to 'mail/e-mail-paned-view.c')
-rw-r--r--mail/e-mail-paned-view.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index b298c5e08f..f592701cb0 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -371,6 +371,20 @@ mail_paned_view_get_action_group (EMailReader *reader)
return E_SHELL_WINDOW_ACTION_GROUP_MAIL (shell_window);
}
+static EAlertSink *
+mail_paned_view_get_alert_sink (EMailReader *reader)
+{
+ EMailView *view;
+ EShellView *shell_view;
+ EShellContent *shell_content;
+
+ view = E_MAIL_VIEW (reader);
+ shell_view = e_mail_view_get_shell_view (view);
+ shell_content = e_shell_view_get_shell_content (shell_view);
+
+ return E_ALERT_SINK (shell_content);
+}
+
static EMailBackend *
mail_paned_view_get_backend (EMailReader *reader)
{
@@ -943,6 +957,7 @@ static void
e_mail_paned_view_reader_init (EMailReaderInterface *interface)
{
interface->get_action_group = mail_paned_view_get_action_group;
+ interface->get_alert_sink = mail_paned_view_get_alert_sink;
interface->get_backend = mail_paned_view_get_backend;
interface->get_formatter = mail_paned_view_get_formatter;
interface->get_hide_deleted = mail_paned_view_get_hide_deleted;