Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Where can I change the maximum recent folders in Thunderbird version 78?

  • 2 відповіді
  • 3 мають цю проблему
  • 10 переглядів
  • Остання відповідь від condliffe1

more options

I saw and learned how to change the maximum number of recent folders in older version of Thunderbird (<68) by changing the value in the omni.ja file. I just updated and then checked the new version 78.2.2; those values do not exist. How can I change the maximum number of recent folders displayed in Thunderbird?

I saw and learned how to change the maximum number of recent folders in older version of Thunderbird (<68) by changing the value in the omni.ja file. I just updated and then checked the new version 78.2.2; those values do not exist. How can I change the maximum number of recent folders displayed in Thunderbird?

Обране рішення

I am going to answer this myself.

I opened up omni.ja and did a lot of grepping and reading code. While I was reading code, I saw several references to pref("mail.folder_widget.max_recent") and totally missed what it meant. Then I finally got it--Mozilla finally put it in the config settings!!

To change the value of max recent folders, I went into Options | General | Config Editor and entered max_recent in the search. Voila! Done!

Enjoy!

Читати цю відповідь у контексті 👍 2

Усі відповіді (2)

more options

Вибране рішення

I am going to answer this myself.

I opened up omni.ja and did a lot of grepping and reading code. While I was reading code, I saw several references to pref("mail.folder_widget.max_recent") and totally missed what it meant. Then I finally got it--Mozilla finally put it in the config settings!!

To change the value of max recent folders, I went into Options | General | Config Editor and entered max_recent in the search. Voila! Done!

Enjoy!

more options

I found this, too, however it isn't quite the whole story.

I increased my "recent folders" setting to 35, but I still noticed that I was still getting less folders. It appears that there is also a maximum age for a folder for it to be considered "recent"

after a bit of digging, I found the file

modules\folderUtils.jsm

in the Omni.ja library. (a zip file than you can extract into a folder structure containing the Thunderbird code)

This contains the function getMostRecentFolders >>>>>> function getMostRecentFolders(aFolderList, aMaxHits, aTimeProperty) {

 let recentFolders = [];
 const monthOld = Math.floor((Date.now() - 31 * 24 * 60 * 60 * 1000) / 1000);

>>>>>>

This constant puts an upper limit on the age of a recent folder at 31 days.

So, if you want to have older folders in your recent list, you need to update this value, changing "31" to your preferred max age and then rebuild the omni.ja file.