[gnome-shell] OtherUsersDialog: wrap the description label
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] OtherUsersDialog: wrap the description label
- Date: Sun, 3 Mar 2013 12:52:32 +0000 (UTC)
commit e54d095064f42e62f5b63646ef7f8fdd3770d3cb
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sat Mar 2 16:55:13 2013 +0100
OtherUsersDialog: wrap the description label
In some languages (like Italian) it doesn't fit in one line.
https://bugzilla.gnome.org/show_bug.cgi?id=695002
js/ui/userMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 1f96968..d784e75 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -889,6 +889,7 @@ const UserMenuButton = new Lang.Class({
let descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description'});
descriptionLabel.set_text(_("Shutting down might cause them to lose unsaved work."));
+ descriptionLabel.clutter_text.line_wrap = true;
dialog.contentLayout.add(descriptionLabel, { x_fill: true,
y_fill: true,
y_align: St.Align.START });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]