endSessionDialog: Align some strings to the right in RTL

https://bugzilla.gnome.org/show_bug.cgi?id=712600
This commit is contained in:
Yosef Or Boczko 2013-12-11 22:42:01 +02:00
parent f8eb8adfbe
commit 53b37e8d0c
2 changed files with 8 additions and 1 deletions

View File

@ -1944,6 +1944,7 @@ StScrollBar StButton#vhandle:active {
.end-session-dialog-description:rtl { .end-session-dialog-description:rtl {
padding-right: 17px; padding-right: 17px;
text-align: right;
} }
.end-session-dialog-logout-icon { .end-session-dialog-logout-icon {
@ -1976,6 +1977,10 @@ StScrollBar StButton#vhandle:active {
font-weight: bold; font-weight: bold;
} }
.end-session-dialog-list-header:rtl {
text-align: right;
}
.end-session-dialog-app-list-item, .end-session-dialog-app-list-item,
.end-session-dialog-session-list-item { .end-session-dialog-session-list-item {
spacing: 1em; spacing: 1em;

View File

@ -249,7 +249,9 @@ const EndSessionDialog = new Lang.Class({
this._subjectLabel = new St.Label({ style_class: 'end-session-dialog-subject' }); this._subjectLabel = new St.Label({ style_class: 'end-session-dialog-subject' });
messageLayout.add(this._subjectLabel, messageLayout.add(this._subjectLabel,
{ y_fill: false, { x_fill: false,
y_fill: false,
x_align: St.Align.START,
y_align: St.Align.START }); y_align: St.Align.START });
this._descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description' }); this._descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description' });