[geary/wip/765516-gtk-widget-conversation-viewer: 192/207] Ensure drafts messages are always displayed expanded by default.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/765516-gtk-widget-conversation-viewer: 192/207] Ensure drafts messages are always displayed expanded by default.
- Date: Tue, 4 Oct 2016 00:12:33 +0000 (UTC)
commit 4170c94cc4f6846e9a27dac6abfe0cfd04d1b686
Author: Michael James Gratton <mike vee net>
Date: Mon Sep 19 15:42:42 2016 +1000
Ensure drafts messages are always displayed expanded by default.
.../conversation-viewer/conversation-listbox.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/client/conversation-viewer/conversation-listbox.vala
b/src/client/conversation-viewer/conversation-listbox.vala
index b2cc158..c2aebcb 100644
--- a/src/client/conversation-viewer/conversation-listbox.vala
+++ b/src/client/conversation-viewer/conversation-listbox.vala
@@ -648,7 +648,8 @@ public class ConversationListBox : Gtk.ListBox {
// Expand interesting messages by default
if (email.is_unread().is_certain() ||
- email.is_flagged().is_certain()) {
+ email.is_flagged().is_certain() ||
+ is_draft) {
row.expand();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]