aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 03:48:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 11:21:40 +0800
commit4fb6020185c8e54f1674ebefaa5b9481272655bf (patch)
tree7b12aa03fd4146f0d999c449d39cb9ff8f992803 /modules
parentb688b36e2d6883f475f653a4f56a160f7b9b2578 (diff)
downloadgsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.tar
gsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.tar.gz
gsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.tar.bz2
gsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.tar.lz
gsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.tar.xz
gsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.tar.zst
gsoc2013-evolution-4fb6020185c8e54f1674ebefaa5b9481272655bf.zip
MessageList: Remove public 'hidejunk' and 'hidedeleted' flags.
Add internal functions to compute these as needed based on a given CamelFolder. Removed functions: message_list_set_hidedeleted()
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-actions.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 66effc1cab..c123696de4 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -1198,26 +1198,6 @@ action_mail_send_receive_send_all_cb (GtkAction *action,
}
static void
-action_mail_show_deleted_cb (GtkToggleAction *action,
- EMailShellView *mail_shell_view)
-{
- EMailShellContent *mail_shell_content;
- GtkWidget *message_list;
- EMailReader *reader;
- EMailView *mail_view;
- gboolean active;
-
- mail_shell_content = mail_shell_view->priv->mail_shell_content;
- mail_view = e_mail_shell_content_get_mail_view (mail_shell_content);
-
- reader = E_MAIL_READER (mail_view);
- message_list = e_mail_reader_get_message_list (reader);
-
- active = gtk_toggle_action_get_active (action);
- message_list_set_hidedeleted (MESSAGE_LIST (message_list), !active);
-}
-
-static void
action_mail_smart_backward_cb (GtkAction *action,
EMailShellView *mail_shell_view)
{
@@ -1900,7 +1880,7 @@ static GtkToggleActionEntry mail_toggle_entries[] = {
N_("Show _Deleted Messages"),
NULL,
N_("Show deleted messages with a line through them"),
- G_CALLBACK (action_mail_show_deleted_cb),
+ NULL, /* Handled by property bindings */
FALSE },
{ "mail-threads-group-by",