From 4b140a897f1b45515ac9987e0b2d343c12f02f1c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 27 Jan 2009 05:22:57 +0000 Subject: Make action group management in shell windows more elegant. svn path=/branches/kill-bonobo/; revision=37137 --- mail/e-mail-shell-content.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/e-mail-shell-content.c') diff --git a/mail/e-mail-shell-content.c b/mail/e-mail-shell-content.c index 5019d234bc..7b91ae1934 100644 --- a/mail/e-mail-shell-content.c +++ b/mail/e-mail-shell-content.c @@ -37,6 +37,7 @@ #include "e-mail-reader.h" #include "e-mail-shell-module.h" +#include "e-mail-shell-view-actions.h" #define E_MAIL_SHELL_CONTENT_GET_PRIVATE(obj) \ (G_TYPE_INSTANCE_GET_PRIVATE \ @@ -431,7 +432,7 @@ mail_shell_content_get_action_group (EMailReader *reader) shell_view = e_shell_content_get_shell_view (shell_content); shell_window = e_shell_view_get_shell_window (shell_view); - return e_shell_window_get_action_group (shell_window, "mail"); + return E_SHELL_WINDOW_ACTION_GROUP_MAIL (shell_window); } static gboolean -- cgit v1.2.3