Thunderbird:Pluggable Store Migration: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 20: Line 20:


We'll want to be able to give progress info - this should be done by summing up the sizes of all the messages in all the folders, and then giving progress as a percentage of the total size we've migrated so far.
We'll want to be able to give progress info - this should be done by summing up the sizes of all the messages in all the folders, and then giving progress as a percentage of the total size we've migrated so far.
We could create an nsIMsgIncomingServer object in js, that just supports the minimal methods needed by the pluggable store, i.e., getting the root folder, and perhaps a couple other things. But we'd probably need to be able to create a real folder object of the right type (e.g., nsLocalMailFolder), though maybe not. In theory, this could be a way of avoiding having notifications sent out.
589

edits

Navigation menu