[Patch] Image properties



Hi,
I found a "bug" in image properties. When description is too long, the properties window
is more large than the screen. For example, for this big image :
http://www.spacetelescope.org/static/archives/images/large/heic1206a.jpg
The description is very long, more than the screen.

Here's a diff which fixes this problem. Just one line added.

Thanks.

--- nautilus-image-properties-page_orig.c	2012-04-24 00:24:56.000000000 +0200
+++ nautilus-image-properties-page.c	2012-04-24 00:36:24.008192168 +0200
@@ -143,6 +143,7 @@
 	 * selectable but without the cursor showing.
 	 */
 	gtk_widget_set_can_focus (label, FALSE);
+	gtk_label_set_line_wrap(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]