Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 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.