aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index c350b52dd3..5d1c36a0ba 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -4572,6 +4572,9 @@ e_mail_reader_set_forward_style (EMailReader *reader,
priv = E_MAIL_READER_GET_PRIVATE (reader);
+ if (priv->forward_style == style)
+ return;
+
priv->forward_style = style;
g_object_notify (G_OBJECT (reader), "forward-style");
@@ -4600,7 +4603,7 @@ e_mail_reader_set_group_by_threads (EMailReader *reader,
priv = E_MAIL_READER_GET_PRIVATE (reader);
- if (group_by_threads == priv->group_by_threads)
+ if ((group_by_threads ? 1 : 0) == (priv->group_by_threads ? 1 : 0))
return;
priv->group_by_threads = group_by_threads;
@@ -4635,6 +4638,9 @@ e_mail_reader_set_reply_style (EMailReader *reader,
priv = E_MAIL_READER_GET_PRIVATE (reader);
+ if (priv->reply_style == style)
+ return;
+
priv->reply_style = style;
g_object_notify (G_OBJECT (reader), "reply-style");