aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-content.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-07-12 20:47:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-26 09:29:59 +0800
commit34900a590970d9eb3d398ba2ec18764b8b0f678c (patch)
treef768f409232fd7674baac66e96b085c43d09c9ac /modules/mail/e-mail-shell-content.c
parentb6f2454f4a02419dd6b4dae3be4130e671b447df (diff)
downloadgsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.tar
gsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.tar.gz
gsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.tar.bz2
gsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.tar.lz
gsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.tar.xz
gsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.tar.zst
gsoc2013-evolution-34900a590970d9eb3d398ba2ec18764b8b0f678c.zip
More bug fixes.
Diffstat (limited to 'modules/mail/e-mail-shell-content.c')
-rw-r--r--modules/mail/e-mail-shell-content.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c
index 5f8081a1d5..3cdcee2d01 100644
--- a/modules/mail/e-mail-shell-content.c
+++ b/modules/mail/e-mail-shell-content.c
@@ -120,7 +120,15 @@ mail_shell_content_focus_search_results (EShellContent *shell_content)
static GtkActionGroup *
mail_shell_content_get_action_group (EMailReader *reader)
{
- return e_mail_reader_get_action_group (E_MAIL_READER(E_MAIL_SHELL_CONTENT(reader)->view));
+ EShellContent *shell_content;
+ EShellWindow *shell_window;
+ EShellView *shell_view;
+
+ shell_content = E_SHELL_CONTENT (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_ACTION_GROUP_MAIL (shell_window);
}
static EMFormatHTML *