From e54d095064f42e62f5b63646ef7f8fdd3770d3cb Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Sat, 2 Mar 2013 16:55:13 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 1f9696852..d784e75ab 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 });