Changes

Jump to: navigation, search

Thunderbird2:Tags

5 bytes added, 00:27, 11 June 2006
m
Implementation
Tags are stored in preferences of the form
"mailnews.tags.<key>.tag", "unicode string"<br>
"mailnews.tags.<key>.color, "color string"
The key is an imap mod-utf7 version of the tag, suitable for use in a pref name, an imap keyword, and part of an x-mozilla-keys header. So, as you might guess, we actually store the key persistently, and translate it to the tag for display purposes. This also allows us to rename a tag by changing the pref without changing all the messages that have that tag. We can also remove a tag by removing the pref, and the key stored in the messages will then be ignored.
589
edits

Navigation menu