aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-21 18:03:23 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-21 18:03:23 +0800
commit3eed7c0e0eeb307d8e351f5e137f23764f493a9d (patch)
treece5fbc0b413225f23fdce47594f1221dfda19c30
parenta593925a7c99069a60e53ac9dd75edea7955f78d (diff)
downloadgsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.tar
gsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.tar.gz
gsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.tar.bz2
gsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.tar.lz
gsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.tar.xz
gsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.tar.zst
gsoc2013-evolution-3eed7c0e0eeb307d8e351f5e137f23764f493a9d.zip
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
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-title-bar.c2
2 files changed, 6 insertions, 1 deletions
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 <ettore@helixcode.com>
+
+ * 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 <clahey@helixcode.com>
* 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