aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-account-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-account-store.c')
-rw-r--r--mail/e-mail-account-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c
index e22ed99274..c7afce32d4 100644
--- a/mail/e-mail-account-store.c
+++ b/mail/e-mail-account-store.c
@@ -1093,6 +1093,9 @@ e_mail_account_store_set_express_mode (EMailAccountStore *store,
{
g_return_if_fail (E_IS_MAIL_ACCOUNT_STORE (store));
+ if ((store->priv->express_mode ? 1 : 0) == (express_mode ? 1 : 0))
+ return;
+
store->priv->express_mode = express_mode;
g_object_notify (G_OBJECT (store), "express-mode");