[nautilus] image-properties: set the description label to wrap
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] image-properties: set the description label to wrap
- Date: Mon, 21 May 2012 20:45:23 +0000 (UTC)
commit 610b15ee1ee3a652dce064b3292b541984f33ea1
Author: rustyBSD <rustyBSD gmx fr>
Date: Mon May 21 16:44:04 2012 -0400
image-properties: set the description label to wrap
Or images with a very long description will create a label that is
bigger than the whole screen.
https://bugzilla.gnome.org/show_bug.cgi?id=566411
src/nautilus-image-properties-page.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-image-properties-page.c b/src/nautilus-image-properties-page.c
index 628cf49..cef017c 100644
--- a/src/nautilus-image-properties-page.c
+++ b/src/nautilus-image-properties-page.c
@@ -143,6 +143,7 @@ append_label (GtkWidget *vbox,
* selectable but without the cursor showing.
*/
gtk_widget_set_can_focus (label, FALSE);
+ gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]