diff options
author | Viswanath Sivakumar <viswanathgs@gmail.com> | 2010-01-22 01:22:06 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-22 01:22:06 +0800 |
commit | 5787b629312f2c2132a666a9ee4d8b2091815ad1 (patch) | |
tree | 7d7b1f84538200f54f8e9a7d701d8ff9c4e57366 /modules | |
parent | 3459b389054ae32528d4724679d288fdc364dd8c (diff) | |
download | gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.tar gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.tar.gz gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.tar.bz2 gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.tar.lz gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.tar.xz gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.tar.zst gsoc2013-evolution-5787b629312f2c2132a666a9ee4d8b2091815ad1.zip |
BugĀ 549558 - "Download Messages for Offline Usage" still sensitive in offline mode
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-view-actions.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 272edfb689..6b72c7796d 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -943,7 +943,7 @@ static GtkActionEntry mail_entries[] = { NULL, N_("_Download Messages for Offline Usage"), NULL, - N_("Download messages of accounts and folders marked for offline"), + N_("Download messages of accounts and folders marked for offline usage"), G_CALLBACK (action_mail_download_cb) }, { "mail-flush-outbox", @@ -1409,6 +1409,7 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) EMailShellContent *mail_shell_content; EShellView *shell_view; EShellWindow *shell_window; + EShell *shell; EShellSearchbar *searchbar; EActionComboBox *combo_box; GtkActionGroup *action_group; @@ -1421,6 +1422,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 = e_shell_window_get_shell (shell_window); mail_shell_content = mail_shell_view->priv->mail_shell_content; searchbar = e_mail_shell_content_get_searchbar (mail_shell_content); @@ -1519,6 +1521,10 @@ e_mail_shell_view_actions_init (EMailShellView *mail_shell_view) ACTION (SEARCH_SAVE), "sensitive", ACTION (MAIL_CREATE_SEARCH_FOLDER), "sensitive"); + e_binding_new ( + shell, "online", + ACTION (MAIL_DOWNLOAD), "sensitive"); + g_signal_connect ( ACTION (GAL_SAVE_CUSTOM_VIEW), "activate", G_CALLBACK (action_gal_save_custom_view_cb), mail_shell_view); |