summaryrefslogtreecommitdiff
path: root/src/components/mail/listing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/mail/listing.rs')
-rw-r--r--src/components/mail/listing.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/mail/listing.rs b/src/components/mail/listing.rs
index 72ec4703..8ed9f615 100644
--- a/src/components/mail/listing.rs
+++ b/src/components/mail/listing.rs
@@ -1809,6 +1809,14 @@ impl Component for Listing {
.push_back(UIEvent::Action(Tab(New(Some(Box::new(composer))))));
return true;
}
+ UIEvent::Action(Action::ManageMailboxes) => {
+ let account_pos = self.cursor_pos.0;
+ let mgr = MailboxManager::new(context, account_pos);
+ context
+ .replies
+ .push_back(UIEvent::Action(Tab(New(Some(Box::new(mgr))))));
+ return true;
+ }
UIEvent::StartupCheck(_)
| UIEvent::MailboxUpdate(_)
| UIEvent::EnvelopeUpdate(_)