[gnome-shell] endSessionDialog: Align some strings to the right in RTL
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] endSessionDialog: Align some strings to the right in RTL
- Date: Wed, 11 Dec 2013 20:44:20 +0000 (UTC)
commit 53b37e8d0cfca11583d599f64642a1ec85c33ee9
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Wed Dec 11 22:42:01 2013 +0200
endSessionDialog: Align some strings to the right in RTL
https://bugzilla.gnome.org/show_bug.cgi?id=712600
data/theme/gnome-shell.css | 5 +++++
js/ui/endSessionDialog.js | 4 +++-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 91fca2d..1ba8250 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1944,6 +1944,7 @@ StScrollBar StButton#vhandle:active {
.end-session-dialog-description:rtl {
padding-right: 17px;
+ text-align: right;
}
.end-session-dialog-logout-icon {
@@ -1976,6 +1977,10 @@ StScrollBar StButton#vhandle:active {
font-weight: bold;
}
+.end-session-dialog-list-header:rtl {
+ text-align: right;
+}
+
.end-session-dialog-app-list-item,
.end-session-dialog-session-list-item {
spacing: 1em;
diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index 60ca3f7..1d43d21 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -249,7 +249,9 @@ const EndSessionDialog = new Lang.Class({
this._subjectLabel = new St.Label({ style_class: 'end-session-dialog-subject' });
messageLayout.add(this._subjectLabel,
- { y_fill: false,
+ { x_fill: false,
+ y_fill: false,
+ x_align: St.Align.START,
y_align: St.Align.START });
this._descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description' });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]