Lines Matching refs:settings

251 	// general settings
378 "Select an item in the list to change its settings."));
416 // load in general settings
417 BMailSettings settings;
418 status_t status = _SetToGeneralSettings(&settings);
420 fprintf(stderr, B_TRANSLATE("Error retrieving general settings: %s\n"),
464 // Apply and save general settings
466 BMailSettings settings;
476 settings.SetAutoCheckInterval(interval);
477 settings.SetDaemonAutoStarts(!fAccounts.IsEmpty());
482 settings.SetShowStatusWindow(index);
484 settings.Save();
496 // server should reload general settings
502 // Start/stop the mail_daemon depending on the settings
505 if (settings.DaemonAutoStarts() && !daemon.IsRunning())
507 else if (!settings.DaemonAutoStarts() && daemon.IsRunning())
562 BMailAccountSettings* settings = clickedItem->Account();
563 if (settings->IsInboundEnabled())
565 if (settings->IsOutboundEnabled())
576 if (settings->IsInboundEnabled()) {
577 settings->SetInboundEnabled(false);
580 settings->SetInboundEnabled(true);
588 if (settings->IsOutboundEnabled()) {
589 settings->SetOutboundEnabled(false);
592 settings->SetOutboundEnabled(true);
704 ConfigWindow::_SetToGeneralSettings(BMailSettings* settings)
706 if (settings == NULL)
709 status_t status = settings->InitCheck();
714 uint32 interval = uint32(settings->AutoCheckInterval() / 60000000L);
724 int32 showStatusIndex = settings->ShowStatusWindow();
741 // revert general settings
742 BMailSettings settings;
744 status_t status = _SetToGeneralSettings(&settings);
748 "\nThe general settings couldn't be reverted.\n\n"
749 "Error retrieving general settings:\n%s\n"),