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:

committed by
Sven Neumann

parent
11316934b8
commit
7dfeb72203
@ -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>
|
2006-07-03 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/gui/splash.[ch]: added "be_verbose" parameters and be
|
* app/gui/splash.[ch]: added "be_verbose" parameters and be
|
||||||
|
@ -382,7 +382,7 @@ gimp_thumb_box_new (Gimp *gimp)
|
|||||||
box);
|
box);
|
||||||
|
|
||||||
box->filename = gtk_label_new (_("No selection"));
|
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);
|
gtk_label_set_justify (GTK_LABEL (box->filename), GTK_JUSTIFY_CENTER);
|
||||||
gimp_label_set_attributes (GTK_LABEL (box->filename),
|
gimp_label_set_attributes (GTK_LABEL (box->filename),
|
||||||
PANGO_ATTR_STYLE, PANGO_STYLE_OBLIQUE,
|
PANGO_ATTR_STYLE, PANGO_STYLE_OBLIQUE,
|
||||||
|
Reference in New Issue
Block a user