Add MAIL:label attribute

To be used by the user to assign a custom label to an email, see
forum thread [1].
It's supposed to replace the mis-use of MAIL:status which should be left
to show the actual status of an email ("New", "Sent", "Replied", etc.).

[1] https://discuss.haiku-os.org/t/introducing-a-new-indexed-attribute-meta-tag

Change-Id: I76f40beeb2c42ab40efa04db3ee3b1b6f77ec926
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10303
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Humdinger
2026-02-20 11:45:09 +00:00
committed by Adrien Destugues
parent f75a230847
commit 3570c2e1b2
5 changed files with 17 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ struct entry_ref;
// E-Mail attributes
#define B_MAIL_ATTR_NAME "MAIL:name" // indexed string
#define B_MAIL_ATTR_USERLABEL "MAIL:label" // indexed string
#define B_MAIL_ATTR_STATUS "MAIL:status" // indexed string
#define B_MAIL_ATTR_PRIORITY "MAIL:priority" // indexed string
#define B_MAIL_ATTR_TO "MAIL:to" // indexed string