From 0e9cc04afb9ad380a227e26c47b553dfda03d145 Mon Sep 17 00:00:00 2001 From: Charles Lehner Date: Tue, 10 Dec 2013 11:56:53 -0800 Subject: [PATCH] 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 + .../conversation-list/formatted-conversation-data.vala | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index 2164137e..10772105 100644 --- a/THANKS +++ b/THANKS @@ -16,6 +16,7 @@ Jens Georg Michael George Sven Hagemann Mathias Hasselmann +Charles Lehner Brendan Long Timo Kluck Avi Levy diff --git a/src/client/conversation-list/formatted-conversation-data.vala b/src/client/conversation-list/formatted-conversation-data.vala index d50a0057..19bc6138 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; }