From b110f7e404759128793256335e7bff866ce97d81 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 23 Jan 2003 19:30:48 +0000 Subject: 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 --- widgets/misc/e-title-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/misc/e-title-bar.c') 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); -- cgit