summaryrefslogtreecommitdiffstats
path: root/src/components/mail/listing.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-04-03 10:13:27 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-04-03 10:13:27 +0300
commit840005022c30c32085a9a74cb0adcc34485e6132 (patch)
treec7abd43012ca396d320188867814e7651c9b5f69 /src/components/mail/listing.rs
parent6ccb9d3d75b15c98b9e31f077e050401e01eb214 (diff)
themes: add default tag theme attribute
The theme attribute key is "mail.listing.tag_default"
Diffstat (limited to 'src/components/mail/listing.rs')
-rw-r--r--src/components/mail/listing.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/mail/listing.rs b/src/components/mail/listing.rs
index e7f0e1cc..9b8c4fb7 100644
--- a/src/components/mail/listing.rs
+++ b/src/components/mail/listing.rs
@@ -58,6 +58,7 @@ struct ColorCache {
selected: ThemeAttribute,
attachment_flag: ThemeAttribute,
thread_snooze_flag: ThemeAttribute,
+ tag_default: ThemeAttribute,
/* Conversations */
subject: ThemeAttribute,
@@ -118,7 +119,7 @@ column_str!(struct DateString(String));
column_str!(struct FromString(String));
column_str!(struct SubjectString(String));
column_str!(struct FlagString(String));
-column_str!(struct TagString(String, SmallVec<[Color; 8]>));
+column_str!(struct TagString(String, SmallVec<[Option<Color>; 8]>));
#[derive(Debug)]
struct AccountMenuEntry {