MozillaZine

Move to/Recent: more folders [SOLVED]

Discussion of general topics about Mozilla Thunderbird
Freee!!

User avatar
 
Posts: 15562
Joined: January 28th, 2005, 5:52 am
Location: Home, with my son!

Post Posted May 26th, 2013, 12:30 am

Does anybody know where to change (increase) the number of folders shown in the Recent list when moving (or copying) messages in Thunderbird?

I found that I have about 17 folders I daily move messages to and it is getting to be a bit annoying that just when I am about to move a message to a certain folder, that folder has just dropped out of the Recent list.

Thunderbird 17.0.6 on Windows 7 (64 bit).
Last edited by Freee!! on May 26th, 2013, 12:19 pm, edited 1 time in total.

morat
 
Posts: 2949
Joined: February 3rd, 2009, 6:29 pm

Post Posted May 26th, 2013, 3:17 am

You would need to create an extension to change the max number.

http://mxr.mozilla.org/comm-release/sou ... 6ed652#160

Freee!!

User avatar
 
Posts: 15562
Joined: January 28th, 2005, 5:52 am
Location: Home, with my son!

Post Posted May 26th, 2013, 3:51 am

That looks pretty hard-coded to me. I wouldn't even know where to start creating an extension for that. And the name of the variable/constant appears in neither the executable nor the profile, so editing the executable (something I have done before) is also out of the question.

morat
 
Posts: 2949
Joined: February 3rd, 2009, 6:29 pm

Post Posted May 26th, 2013, 11:37 am

The folderWidgets.xml file is in the omni.ja file. The omni.ja file is not optimized, like the Firefox omni.ja file.

Command Prompt:

cd /d C:\Program Files\Mozilla Thunderbird
copy omni.ja omni.ja.17.0.6esr.backup
unzip omni.ja chrome\messenger\content\messenger\folderWidgets.xml
gvim chrome\messenger\content\messenger\folderWidgets.xml

Code: Select all
- <field name="_MAXRECENT">15</field>
+ <field name="_MAXRECENT">3</field>

zip omni.ja chrome\messenger\content\messenger\folderWidgets.xml
del chrome\messenger\content\messenger\folderWidgets.xml
rd /s chrome\messenger
thunderbird -purgecaches

That works for me. I am not sure how to change the _MAXRECENT value with an extension.

Freee!!

User avatar
 
Posts: 15562
Joined: January 28th, 2005, 5:52 am
Location: Home, with my son!

Post Posted May 26th, 2013, 12:15 pm

I applied the change you described (increased the number to 25), let's see if it works. Thanks so far.

EDIT:
After restarting with '-purgecaches' (overlooked), the Recent list showed 25 entries.

Thanks very much.

morat
 
Posts: 2949
Joined: February 3rd, 2009, 6:29 pm

Post Posted May 26th, 2013, 1:39 pm

You're welcome.

PS,

This works for me with an extension.

http://kb.mozillazine.org/Bindings

userChrome.css
Code: Select all
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

menupopup[type="folder"] {
  -moz-binding: url("chrome://userchrome/content/userChrome.xml#maxRecent") !important;
}

userChrome.xml
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE bindings>
<bindings xmlns="http://www.mozilla.org/xbl"
          xmlns:xbl="http://www.mozilla.org/xbl"
          xmlns:html="http://www.w3.org/1999/xhtml"
          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <binding id="maxRecent"
           extends="chrome://messenger/content/folderWidgets.xml#folder-menupopup">
    <implementation>
      <field name="_MAXRECENT">3</field>
    </implementation>
  </binding>
</bindings>

Rod Whiteley's chrome.xpi extension is obsolete.

Fix: viewtopic.php?p=12655643#p12655643

And remember to use the -purgecaches command line option.

ilNebbioso
 
Posts: 2
Joined: September 10th, 2014, 7:46 am

Post Posted September 10th, 2014, 7:52 am

Hello!
I manually edited the xml file as morat suggested in his first reply.
After purgecaching (!), on Thunderbird 31.1 worked like a charm.
Thank you!!!!

LIMPET235
Moderator

User avatar
 
Posts: 38476
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted September 10th, 2014, 8:07 am

Locking due to old age.
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-57.0-61.0-62.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.11.0.
RadioYachting. (Always choose the "Custom" Install.)

Return to Thunderbird General


Who is online

Users browsing this forum: No registered users and 2 guests