From 3eed7c0e0eeb307d8e351f5e137f23764f493a9d Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 21 Jul 2000 10:03:23 +0000 Subject: Fix the function to set the ETitleBar's text so that it correctly uses the EClippedLabel function instead of the GtkLabel one. svn path=/trunk/; revision=4256 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-title-bar.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 4ea43cd55d..def5d46c96 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2000-07-21 Ettore Perazzoli + + * e-title-bar.c (e_title_bar_set_title): We have a `EClippedLabel', + not a `GtkLabel' here: use the right function to change the text. + 2000-07-12 Christopher James Lahey * e-scroll-frame.c: Tried rearranging the casts to try for a more diff --git a/widgets/misc/e-title-bar.c b/widgets/misc/e-title-bar.c index 26b25a126a..30c4a42c88 100644 --- a/widgets/misc/e-title-bar.c +++ b/widgets/misc/e-title-bar.c @@ -247,7 +247,7 @@ e_title_bar_set_title (ETitleBar *title_bar, g_return_if_fail (title_bar != NULL); g_return_if_fail (E_IS_TITLE_BAR (title_bar)); - gtk_label_set_text (GTK_LABEL (title_bar->priv->label), title); + e_clipped_label_set_text (E_CLIPPED_LABEL (title_bar->priv->label), title); } void -- cgit v1.2.3