From 228762e1f2102f6917dfcf01b641b05c38e01bcd Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 31 May 2005 13:59:48 +0000 Subject: [PATCH] enable ellipsation on the progressbar. Fixes initial display width 2005-05-31 Michael Natterer * app/display/gimpstatusbar.c (gimp_statusbar_init): enable ellipsation on the progressbar. Fixes initial display width calculation for long statusbar strings. --- ChangeLog | 6 ++++++ app/display/gimpstatusbar.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index cb0cfae688..57011797b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-31 Michael Natterer + + * 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 * app/widgets/gimpaction.c (gimp_action_set_proxy): re-enabled diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c index 67ff0ba5dc..5445a76bbb 100644 --- a/app/display/gimpstatusbar.c +++ b/app/display/gimpstatusbar.c @@ -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);