Don't show draft messages when editing them.
* src/client/conversation-viewer/conversation-listbox.vala (EmailRow): Add a grid to the row, then add the email view to that. Allow embedded composers to also be added to the grid, hide the email view when the composer is for a draft. Fix code making asumptions about EmailRow's child. (ConversationListBox::add_embedded_composer): Add draft param, pass it through to the email row. Update call sites. * src/client/conversation-viewer/conversation-email.vala (ConversationEmail): Remove composer related prop and methods, since its handled by EmailRow now. * ui/geary.css: Update widget hierarchy.
This commit is contained in:
parent
f315fce4f1
commit
23fdf583cf
4 changed files with 47 additions and 36 deletions
|
|
@ -67,11 +67,11 @@ row.geary-folder-popover-list-row > label {
|
|||
box-shadow: 0 4px 8px 1px rgba(0,0,0,0.4);
|
||||
transition: margin 0.1s;
|
||||
}
|
||||
.conversation-listbox > row > box {
|
||||
.conversation-listbox > row > grid {
|
||||
background: @theme_base_color;
|
||||
transition: background 0.25s;
|
||||
}
|
||||
.conversation-listbox > row:hover > box {
|
||||
.conversation-listbox > row:hover > grid {
|
||||
background: shade(@theme_base_color, 0.96);
|
||||
}
|
||||
.conversation-listbox > row.geary-expanded {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue