[geary/geary-0.12] Fix RTL hinting in the composer after the WebKit2 port broke it.



commit 2f6fc35b2266db3cb4f4f11e392af16fb73f19d9
Author: Michael James Gratton <mike vee net>
Date:   Wed Feb 7 16:39:30 2018 +1100

    Fix RTL hinting in the composer after the WebKit2 port broke it.
    
    Bug 713607

 src/client/composer/composer-web-view.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/client/composer/composer-web-view.vala b/src/client/composer/composer-web-view.vala
index 08972b2..978c27a 100644
--- a/src/client/composer/composer-web-view.vala
+++ b/src/client/composer/composer-web-view.vala
@@ -144,17 +144,17 @@ public class ComposerWebView : ClientWebView {
                               string quote,
                               bool top_posting,
                               bool is_draft) {
-        const string HTML_PRE = """<html><body dir="auto">""";
+        const string HTML_PRE = """<html><body>""";
         const string HTML_POST = """</body></html>""";
         const string BODY_PRE = """
-<div id="geary-body">""";
+<div id="geary-body" dir="auto">""";
         const string BODY_POST = """</div>
 """;
         const string SIGNATURE = """
-<div id="geary-signature">%s</div>
+<div id="geary-signature" dir="auto">%s</div>
 """;
         const string QUOTE = """
-<div id="geary-quote"><br />%s</div>
+<div id="geary-quote" dir="auto"><br />%s</div>
 """;
         const string CURSOR = "<div><span id=\"cursormarker\"></span><br /></div>";
         const string SPACER = "<div><br /></div>";


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