The Deep End

go to! email!

Tuesday, December 06, 2005

Mozilla Thunderbird: Creating Folders

I don't remember if this was a previous post or not, but...

just get to your folder (see Navigating Folders)

this will be an nsIMsgFolder.

Use nsIMsgFolder.createSubfolder(folder_name,msgWindow);
As may be inferred, this will create the subfolder, but you have to update the parent folder to get it to show up in the Folder Pane.


If you want to learn more about nsIMsgFolder, go to the XulPlanet article.

Updating Extensions to 1.5; Changes and Problems

While frantically trying to understand how I'm going to make my extension compatibile with thunderbird 1.5 beta, I came across this.
The most important change that I see is the chrome.manifest file, which...replaces contents.rdf?

Anyway, it was useful to me to restructure my files as it's shown in the mozillazine article--you'll need to change the references to your .dtd files and .css files because the locations will be different. This may sound redundant or insane, but be sure those locations are correct! I had a lot of problems because I put chrome://thunderbirdtemplates/locale/en-US/overlay.dtd in the .xul instead of chrome://thunderbirdtemplates/locale/overlay.dtd

Good luck updating!