[gnome-packagekit/gnome-3-8] Wrap license text
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-3-8] Wrap license text
- Date: Sat, 28 Dec 2013 01:57:07 +0000 (UTC)
commit 262e51d9728089fd73f374d86fdb7096476c7c65
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Dec 21 22:36:58 2013 -0600
Wrap license text
Otherwise, the window expands absrudly wide to fit the unwrapped text of
long license fields (e.g. LibreOffice).
https://bugzilla.gnome.org/show_bug.cgi?id=720915
src/gpk-application.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 2ce1cf6..466a813 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -2215,6 +2215,7 @@ gpk_application_get_details_cb (PkClient *client, GAsyncResult *res, GpkApplicat
gtk_widget_show (widget);
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_licence"));
gtk_label_set_label (GTK_LABEL (widget), license);
+ gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE);
gtk_widget_show (widget);
} else {
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "label_licence_title"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]