[libchamplain] Fix markup in Clutter 1.0



commit f20b4f528bbde1f22e0b09fe34901183fb735ff4
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Thu Jul 30 19:13:26 2009 -0400

    Fix markup in Clutter 1.0
    
    The markup property has to be set after the text for it to work

 champlain/champlain-marker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-marker.c b/champlain/champlain-marker.c
index 712b671..bc6c518 100644
--- a/champlain/champlain-marker.c
+++ b/champlain/champlain-marker.c
@@ -579,7 +579,6 @@ draw_marker (ChamplainMarker *marker)
       }
 
       label = CLUTTER_TEXT (priv->text_actor);
-      clutter_text_set_use_markup (label, priv->use_markup);
       clutter_text_set_font_name (label, priv->font_name);
       clutter_text_set_text (label, priv->text);
       clutter_text_set_line_alignment (label, priv->alignment);
@@ -587,6 +586,7 @@ draw_marker (ChamplainMarker *marker)
       clutter_text_set_line_wrap_mode (label, priv->wrap_mode);
       clutter_text_set_ellipsize (label, priv->ellipsize);
       clutter_text_set_attributes (label, priv->attributes);
+      clutter_text_set_use_markup (label, priv->use_markup);
 
       height = clutter_actor_get_height (priv->text_actor);
       if (priv->image != NULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]