ellipsize the filename label.

2006-07-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpthumbbox.c: ellipsize the filename label.
This commit is contained in:
Sven Neumann 2006-07-05 08:10:22 +00:00 committed by Sven Neumann
parent 11316934b8
commit 7dfeb72203
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-07-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimpthumbbox.c: ellipsize the filename label.
2006-07-03 Michael Natterer <mitch@gimp.org>
* app/gui/splash.[ch]: added "be_verbose" parameters and be

View File

@ -382,7 +382,7 @@ gimp_thumb_box_new (Gimp *gimp)
box);
box->filename = gtk_label_new (_("No selection"));
gtk_label_set_line_wrap (GTK_LABEL (box->filename), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (box->filename), PANGO_ELLIPSIZE_MIDDLE);
gtk_label_set_justify (GTK_LABEL (box->filename), GTK_JUSTIFY_CENTER);
gimp_label_set_attributes (GTK_LABEL (box->filename),
PANGO_ATTR_STYLE, PANGO_STYLE_OBLIQUE,