|
|
|
@ -121,7 +121,7 @@ void ConfigLog::load()
|
|
|
|
|
else if( config->readEntry( CONFIG_ENTRY_LOG_REMOVE_DELETED_MAILS, DEFAULT_LOG_REMOVE_DELETED_MAILS ) == CONFIG_VALUE_LOG_REMOVE_MAILS_AFTER_DAYS )
|
|
|
|
|
grpDelMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
|
else
|
|
|
|
|
if( DEFAULT_LOG_REMOVE_DELETED_MAILS == CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT )
|
|
|
|
|
if (!strcmp(DEFAULT_LOG_REMOVE_DELETED_MAILS, CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT))
|
|
|
|
|
grpDelMailsRemove->setButton( ID_BUTTON_REMOVE_AT_EXIT );
|
|
|
|
|
else
|
|
|
|
|
grpDelMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
@ -131,7 +131,7 @@ void ConfigLog::load()
|
|
|
|
|
else if( config->readEntry( CONFIG_ENTRY_LOG_REMOVE_MOVED_MAILS, DEFAULT_LOG_REMOVE_MOVED_MAILS ) == CONFIG_VALUE_LOG_REMOVE_MAILS_AFTER_DAYS )
|
|
|
|
|
grpMovMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
|
else
|
|
|
|
|
if( DEFAULT_LOG_REMOVE_MOVED_MAILS == CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT )
|
|
|
|
|
if (!strcmp(DEFAULT_LOG_REMOVE_MOVED_MAILS, CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT))
|
|
|
|
|
grpMovMailsRemove->setButton( ID_BUTTON_REMOVE_AT_EXIT );
|
|
|
|
|
else
|
|
|
|
|
grpMovMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
@ -155,16 +155,16 @@ void ConfigLog::defaults()
|
|
|
|
|
else
|
|
|
|
|
chkLogMovedMails->setChecked( false );
|
|
|
|
|
|
|
|
|
|
if( DEFAULT_LOG_REMOVE_DELETED_MAILS == CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT )
|
|
|
|
|
if (!strcmp(DEFAULT_LOG_REMOVE_DELETED_MAILS, CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT))
|
|
|
|
|
grpDelMailsRemove->setButton( ID_BUTTON_REMOVE_AT_EXIT );
|
|
|
|
|
else if( DEFAULT_LOG_REMOVE_DELETED_MAILS == CONFIG_VALUE_LOG_REMOVE_MAILS_AFTER_DAYS )
|
|
|
|
|
else if (!strcmp(DEFAULT_LOG_REMOVE_DELETED_MAILS, CONFIG_VALUE_LOG_REMOVE_MAILS_AFTER_DAYS))
|
|
|
|
|
grpDelMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
|
else
|
|
|
|
|
grpDelMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
|
|
|
|
|
|
if( DEFAULT_LOG_REMOVE_MOVED_MAILS == CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT )
|
|
|
|
|
if (!strcmp(DEFAULT_LOG_REMOVE_MOVED_MAILS, CONFIG_VALUE_LOG_REMOVE_MAILS_AT_EXIT))
|
|
|
|
|
grpMovMailsRemove->setButton( ID_BUTTON_REMOVE_AT_EXIT );
|
|
|
|
|
else if( DEFAULT_LOG_REMOVE_MOVED_MAILS == CONFIG_VALUE_LOG_REMOVE_MAILS_AFTER_DAYS )
|
|
|
|
|
else if (!strcmp(DEFAULT_LOG_REMOVE_MOVED_MAILS, CONFIG_VALUE_LOG_REMOVE_MAILS_AFTER_DAYS))
|
|
|
|
|
grpMovMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
|
else
|
|
|
|
|
grpMovMailsRemove->setButton( ID_BUTTON_REMOVE_AFTER_DAYS );
|
|
|
|
|