aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-browser.c')
-rw-r--r--mail/e-mail-browser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 5b89154885..936b3b520f 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -985,6 +985,9 @@ e_mail_browser_set_show_deleted (EMailBrowser *browser,
{
g_return_if_fail (E_IS_MAIL_BROWSER (browser));
+ if ((browser->priv->show_deleted ? 1 : 0) == (show_deleted ? 1 : 0))
+ return;
+
browser->priv->show_deleted = show_deleted;
g_object_notify (G_OBJECT (browser), "show-deleted");