aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-09 09:09:52 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-09 11:06:23 +0800
commit448aa307c324899a45b56d00c23d247b789eca27 (patch)
treea7586b97a878083e8aee59b018f52828baa6b5eb /mail
parent26ca1f2c563d5b4b2f3d3adcf427b8c3db62f4c4 (diff)
downloadgsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.tar
gsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.tar.gz
gsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.tar.bz2
gsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.tar.lz
gsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.tar.xz
gsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.tar.zst
gsoc2013-evolution-448aa307c324899a45b56d00c23d247b789eca27.zip
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.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-display.c6
1 files changed, 3 insertions, 3 deletions
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";