2007-04-26 Emmanuele Bassi <ebassi@openedhand.com>
Merge from clutter-0-2 * clutter/clutter-label.c: Unbreak the "use-markup" property by actually passing the markup to pango_layout_set_markup().
This commit is contained in:
parent
a7a511ce79
commit
04ea1a98df
@ -1,3 +1,10 @@
|
||||
2007-04-26 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
Merge from clutter-0-2
|
||||
|
||||
* clutter/clutter-label.c: Unbreak the "use-markup" property
|
||||
by actually passing the markup to pango_layout_set_markup().
|
||||
|
||||
2007-04-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
Merge from clutter.git/master
|
||||
|
@ -209,7 +209,11 @@ clutter_label_ensure_layout (ClutterLabel *label, gint width)
|
||||
priv->single_line_mode);
|
||||
|
||||
pango_layout_set_font_description (priv->layout, priv->desc);
|
||||
|
||||
if (!priv->use_markup)
|
||||
pango_layout_set_text (priv->layout, priv->text, -1);
|
||||
else
|
||||
pango_layout_set_markup (priv->layout, priv->text, -1);
|
||||
|
||||
if (priv->wrap)
|
||||
pango_layout_set_wrap (priv->layout, priv->wrap_mode);
|
||||
|
Loading…
Reference in New Issue
Block a user