|
|
@ -273,10 +273,6 @@ impl ThreadListing {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Inform State that we changed the current folder view.
|
|
|
|
|
|
|
|
context
|
|
|
|
|
|
|
|
.replies
|
|
|
|
|
|
|
|
.push_back(UIEvent::RefreshMailbox((self.cursor_pos.0, folder_hash)));
|
|
|
|
|
|
|
|
// Get mailbox as a reference.
|
|
|
|
// Get mailbox as a reference.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
match context.accounts[self.cursor_pos.0].status(folder_hash) {
|
|
|
|
match context.accounts[self.cursor_pos.0].status(folder_hash) {
|
|
|
@ -622,10 +618,6 @@ impl Component for ThreadListing {
|
|
|
|
self.view = None;
|
|
|
|
self.view = None;
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
UIEvent::RefreshMailbox(_) => {
|
|
|
|
|
|
|
|
self.dirty = true;
|
|
|
|
|
|
|
|
self.view = None;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
UIEvent::MailboxUpdate((ref idxa, ref idxf))
|
|
|
|
UIEvent::MailboxUpdate((ref idxa, ref idxf))
|
|
|
|
if context.accounts[self.new_cursor_pos.0]
|
|
|
|
if context.accounts[self.new_cursor_pos.0]
|
|
|
|
.folders_order
|
|
|
|
.folders_order
|
|
|
|