summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-04 10:01:00 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-04 10:40:53 +0100
commit0aa79adae47a074f0fd59762eec0c133ca48ae2a (patch)
treebaddc4304d9f6befc5e6d84a57ba40b13d078591
parent0238337186d7bf8b82869f53a9d27e7d407beaf6 (diff)
implement %messageDirection% in default themes
https://bugzilla.gnome.org/show_bug.cgi?id=688174
-rw-r--r--data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html2
-rw-r--r--data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html2
-rw-r--r--data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html2
-rw-r--r--data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html2
-rw-r--r--data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html8
5 files changed, 9 insertions, 7 deletions
diff --git a/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html b/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html
index b2c888a8..767666da 100644
--- a/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html
+++ b/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html
@@ -4,7 +4,7 @@
<span class="sender">%sender%</span>
<span class="timestamp">%time%</span>
</div>
- <div class="%messageClasses%">
+ <div class="%messageClasses%" dir="%messageDirection%">
%message%
</div>
<div id="insert"></div>
diff --git a/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html b/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html
index 747caa6d..7c8df190 100644
--- a/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html
+++ b/data/themes/Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html
@@ -1,4 +1,4 @@
-<div class="%messageClasses%">
+<div class="%messageClasses%" dir="%messageDirection%">
%message%
</div>
<div id="insert"></div>
diff --git a/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html
index 3a1a3d9c..01a2d3f2 100644
--- a/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html
+++ b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html
@@ -1,4 +1,4 @@
-<div class="%messageClasses%">
+<div class="%messageClasses%" dir="%messageDirection%">
<span class="sender">%sender%:</span>
<span class="message">%message%</span>
</div>
diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html
index e3a5c63f..08c1ccda 100644
--- a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html
+++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html
@@ -5,7 +5,7 @@
</div>
<div class="post">
<div class="post-body">
- <div class="post-contents">
+ <div class="post-contents" dir="%messageDirection%">
<p>
%message%
</p>
diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html
index 9982230d..626aa263 100644
--- a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html
+++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html
@@ -1,4 +1,6 @@
-<p>
- %message%
-</p>
+<div dir="%messageDirection%">
+ <p>
+ %message%
+ </p>
+</dir>
<div id="insert"></div>