diff options
Diffstat (limited to 'modules/mail/e-mail-shell-view-actions.c')
-rw-r--r-- | modules/mail/e-mail-shell-view-actions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 3c4871bffe..920aa0680e 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -1465,6 +1465,7 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) EMailShellContent *mail_shell_content; EShellView *shell_view; EShellWindow *shell_window; + EShellBackend *shell_backend; EShell *shell; EShellSearchbar *searchbar; EActionComboBox *combo_box; @@ -1479,6 +1480,7 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) shell_view = E_SHELL_VIEW (mail_shell_view); shell_window = e_shell_view_get_shell_window (shell_view); + shell_backend = e_shell_view_get_shell_backend (shell_view); shell = e_shell_window_get_shell (shell_window); mail_shell_content = mail_shell_view->priv->mail_shell_content; @@ -1570,6 +1572,10 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) ACTION (MAIL_SHOW_DELETED), "active", mail_view, "show-deleted"); + e_binding_new ( + shell_backend, "busy", + ACTION (MAIL_STOP), "sensitive"); + /* Keep the sensitivity of "Create Search Folder from Search" * in sync with "Save Search" so that its only selectable when * showing search results. */ |