X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-account-mgr.c;h=a129e51aaf7db4d805795f3ad87ebdac27781a25;hb=6bab4bfef92fef73852d6acd51d1ebf381a338e4;hp=a6e4509ba03bdf42e59cb25fa9673b206447f39c;hpb=c88416e79b8c040a82eb7b11870598862c053a10;p=modest diff --git a/src/modest-account-mgr.c b/src/modest-account-mgr.c index a6e4509..a129e51 100644 --- a/src/modest-account-mgr.c +++ b/src/modest-account-mgr.c @@ -288,6 +288,14 @@ modest_account_mgr_add_account (ModestAccountMgr *self, return FALSE; } } + + /* Make sure that leave-messages-on-server is enabled by default, + * as per the UI spec, though it is only meaningful for accounts using POP. + * (possibly this gconf key should be under the server account): */ + modest_account_mgr_set_bool (self, name, + MODEST_ACCOUNT_LEAVE_ON_SERVER, TRUE, FALSE /* not server account */); + + modest_account_mgr_set_enabled (self, name, enabled); /* if no default account has been defined yet, do so now */