From 448aa307c324899a45b56d00c23d247b789eca27 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 8 May 2013 21:09:52 -0400 Subject: Right-align mail header names. We used to do this before WebKit and it looked better. Also fix up the header section for right-to-left locales: put the collapse button on the right, and images on the left. --- mail/e-mail-display.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c index 7f6063b07d..7d7f04f9cf 100644 --- a/mail/e-mail-display.c +++ b/mail/e-mail-display.c @@ -1007,15 +1007,15 @@ toggle_headers_visibility (WebKitDOMElement *button, css_full = webkit_dom_element_get_style (full_headers); css_value = webkit_dom_css_style_declaration_get_property_value ( css_full, "display"); - expanded = (g_strcmp0 (css_value, "block") == 0); + expanded = (g_strcmp0 (css_value, "table") == 0); g_free (css_value); webkit_dom_css_style_declaration_set_property ( css_full, "display", - expanded ? "none" : "block", "", NULL); + expanded ? "none" : "table", "", NULL); webkit_dom_css_style_declaration_set_property ( css_short, "display", - expanded ? "block" : "none", "", NULL); + expanded ? "table" : "none", "", NULL); if (expanded) path = "evo-file://" EVOLUTION_IMAGESDIR "/plus.png"; -- cgit v1.2.3