enable ellipsation on the progressbar. Fixes initial display width

2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_init): enable
	ellipsation on the progressbar. Fixes initial display width
	calculation for long statusbar strings.
This commit is contained in:
Michael Natterer 2005-05-31 13:59:48 +00:00 committed by Michael Natterer
parent 82d1b13b5c
commit 228762e1f2
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-05-31 Michael Natterer <mitch@gimp.org>
* app/display/gimpstatusbar.c (gimp_statusbar_init): enable
ellipsation on the progressbar. Fixes initial display width
calculation for long statusbar strings.
2005-05-31 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpaction.c (gimp_action_set_proxy): re-enabled

View File

@ -217,6 +217,8 @@ gimp_statusbar_init (GimpStatusbar *statusbar)
statusbar);
statusbar->progressbar = gtk_progress_bar_new ();
gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR (statusbar->progressbar),
PANGO_ELLIPSIZE_END);
gtk_box_pack_start (box, statusbar->progressbar, TRUE, TRUE, 0);
gtk_widget_show (statusbar->progressbar);