[geary/wip/714317-hide-html-in-preview: 4/4] Fix conversation message preview being cut off on wide screens.



commit 9da9191076d582c0376ba7ea07a0d78bb512d951
Author: Michael James Gratton <mike vee net>
Date:   Mon Dec 19 02:01:50 2016 +1100

    Fix conversation message preview being cut off on wide screens.
    
    Bug 772607
    
    * src/engine/api/geary-email.vala (Email.MAX_PREVIEW_BYTES): Bump the
      maximum preview size to twice previous.

 src/engine/api/geary-email.vala |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/api/geary-email.vala b/src/engine/api/geary-email.vala
index 1c72e27..3fcc566 100644
--- a/src/engine/api/geary-email.vala
+++ b/src/engine/api/geary-email.vala
@@ -4,11 +4,17 @@
  * (version 2.1 or later).  See the COPYING file in this distribution.
  */
 
+/**
+ * Representation of a single email message in the engine.
+ *
+ * This class encapsulates an email, attachments and its related
+ * server and database state.
+ */
 public class Geary.Email : BaseObject {
     // This value is not persisted, but it does represent the expected max size of the preview
     // when returned.
-    public const int MAX_PREVIEW_BYTES = 128;
-    
+    public const int MAX_PREVIEW_BYTES = 256;
+
     /**
      * Currently only one field is mutable: FLAGS.  All others never change once stored in the
      * database.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]