diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-13 05:39:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-13 05:41:52 +0800 |
commit | 3c5f899f2dffb805aeff4bde6172a6dcfd8bae79 (patch) | |
tree | 188d0e0c8869b13b52b0a02bc76b602b35f78e38 /widgets | |
parent | 35ddaeba8e982e666ed4c5b7f71b76468230fe13 (diff) | |
download | gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.tar gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.tar.gz gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.tar.bz2 gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.tar.lz gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.tar.xz gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.tar.zst gsoc2013-evolution-3c5f899f2dffb805aeff4bde6172a6dcfd8bae79.zip |
Adjust EAlertBar text attributes.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-alert-bar.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/e-alert-bar.c b/widgets/misc/e-alert-bar.c index 7796482689..0e9d2b7bb5 100644 --- a/widgets/misc/e-alert-bar.c +++ b/widgets/misc/e-alert-bar.c @@ -189,8 +189,6 @@ e_alert_bar_init (EAlertBar *alert_bar) container = widget; attr_list = pango_attr_list_new (); - attr = pango_attr_scale_new (PANGO_SCALE_LARGE); - pango_attr_list_insert (attr_list, attr); attr = pango_attr_weight_new (PANGO_WEIGHT_BOLD); pango_attr_list_insert (attr_list, attr); @@ -202,7 +200,14 @@ e_alert_bar_init (EAlertBar *alert_bar) alert_bar->priv->primary_label = widget; gtk_widget_show (widget); + pango_attr_list_unref (attr_list); + + attr_list = pango_attr_list_new (); + attr = pango_attr_scale_new (PANGO_SCALE_SMALL); + pango_attr_list_insert (attr_list, attr); + widget = gtk_label_new (NULL); + gtk_label_set_attributes (GTK_LABEL (widget), attr_list); gtk_label_set_line_wrap (GTK_LABEL (widget), TRUE); gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); |