[geary] Certain themes cause Conversation List to be squished: Closes #713954



commit 0e9cc04afb9ad380a227e26c47b553dfda03d145
Author: Charles Lehner <rdm cel celehner com>
Date:   Tue Dec 10 11:56:53 2013 -0800

    Certain themes cause Conversation List to be squished: Closes #713954
    
    Some themes (elementary's, Mint 16's Cinnamon theme) cause the
    conversation list to appear squished.  It has to do with how the
    conversation list calculates the size of each element at app
    startup.

 THANKS                                             |    1 +
 .../formatted-conversation-data.vala               |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/THANKS b/THANKS
index 2164137..1077210 100644
--- a/THANKS
+++ b/THANKS
@@ -16,6 +16,7 @@ Jens Georg <mail jensge org>
 Michael George <mdgeorge cs cornell edu>
 Sven Hagemann <sven rednose nl>
 Mathias Hasselmann <mathias openismus com>
+Charles Lehner <rdm cel celehner com>
 Brendan Long <self brendanlong com>
 Timo Kluck <tkluck infty nl>
 Avi Levy <avi w levy gmail com>
diff --git a/src/client/conversation-list/formatted-conversation-data.vala 
b/src/client/conversation-list/formatted-conversation-data.vala
index d50a005..19bc613 100644
--- a/src/client/conversation-list/formatted-conversation-data.vala
+++ b/src/client/conversation-list/formatted-conversation-data.vala
@@ -264,7 +264,10 @@ public class FormattedConversationData : Geary.BaseObject {
         
         x_offset = 0;
         y_offset = 0;
-        width = 0;
+        // set width to 1 (rather than 0) to work around certain themes that cause the
+        // conversation list to be shown as "squished":
+        // https://bugzilla.gnome.org/show_bug.cgi?id=713954
+        width = 1;
         height = cell_height;
     }
     


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