aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-title-bar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-24 03:30:48 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-24 03:30:48 +0800
commitb110f7e404759128793256335e7bff866ce97d81 (patch)
tree1ea0326f2de7de7b6afebd70256c98febccff03e /widgets/misc/e-title-bar.c
parent82978ed2aeeaca044d3df85b21c59c9c8f0d3b2b (diff)
downloadgsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.tar
gsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.tar.gz
gsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.tar.bz2
gsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.tar.lz
gsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.tar.xz
gsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.tar.zst
gsoc2013-evolution-b110f7e404759128793256335e7bff866ce97d81.zip
Make the label bold using the new args to e_clipped_label_new().
* e-title-bar.c (e_title_bar_construct): Make the label bold using the new args to e_clipped_label_new(). * e-clipped-label.c (build_layout): Honor ->font_size and ->layout in the newly created PangoLayout. (e_clipped_label_new): New args font_weight, font_size. (e_clipped_label_size_request): Removed unused variables. (e_clipped_label_expose): Likewise. (e_clipped_label_expose): Likewise. (e_clipped_label_set_text): Likewise. (e_clipped_label_recalc_chars_displayed): Likewise. * e-clipped-label.h (struct _EClippedLabel): Add font_size, layout members. svn path=/trunk/; revision=19591
Diffstat (limited to 'widgets/misc/e-title-bar.c')
-rw-r--r--widgets/misc/e-title-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-title-bar.c b/widgets/misc/e-title-bar.c
index f5ce0f97c4..4d4e36e45b 100644
--- a/widgets/misc/e-title-bar.c
+++ b/widgets/misc/e-title-bar.c
@@ -305,7 +305,7 @@ e_title_bar_construct (ETitleBar *title_bar,
priv = title_bar->priv;
- priv->label = e_clipped_label_new (title);
+ priv->label = e_clipped_label_new (title, PANGO_WEIGHT_BOLD, 1.0);
gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5);
gtk_misc_set_padding (GTK_MISC (priv->label), 2, 0);
gtk_widget_show (priv->label);