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



commit bc900fb7030eec692c0accf01f79aa9f3e97b034
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 +
 src/client/views/formatted-conversation-data.vala |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/THANKS b/THANKS
index 4616b86..c2d75f2 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/views/formatted-conversation-data.vala 
b/src/client/views/formatted-conversation-data.vala
index d50a005..19bc613 100644
--- a/src/client/views/formatted-conversation-data.vala
+++ b/src/client/views/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]