Commit eecf688e authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

ellipsize the image name displayed below the thumbnail.

2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate_query): ellipsize
	the image name displayed below the thumbnail.


svn path=/trunk/; revision=21717
parent 00268bb3
2007-01-15 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate_query): ellipsize
the image name displayed below the thumbnail.
2007-01-15 Sven Neumann <sven@gimp.org>
* app/actions/file-commands.[ch]
......
......@@ -347,12 +347,15 @@ jpeg_exif_rotate_query (gint32 image_ID)
name = gimp_image_get_name (image_ID);
label = gtk_label_new (name);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_MIDDLE);
gimp_label_set_attributes (GTK_LABEL (label),
PANGO_ATTR_STYLE, PANGO_STYLE_ITALIC,
-1);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
gimp_help_set_help_data (image, name, NULL);
g_free (name);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment