rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=1e47e5e2fb49ea6732be22a591dc8f69f5242707

commit 1e47e5e2fb49ea6732be22a591dc8f69f5242707
Author: Vitalii Vorobiov <[email protected]>
Date:   Thu Nov 17 16:16:27 2016 +0200

    property_textblock: make font weight and font width great again
    
    Fixes T4860
---
 src/bin/ui/property/property_textblock.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/property/property_textblock.c 
b/src/bin/ui/property/property_textblock.c
index 8f60d1f..40a3def 100644
--- a/src/bin/ui/property/property_textblock.c
+++ b/src/bin/ui/property/property_textblock.c
@@ -346,8 +346,8 @@ _update_style()
    _print_string(&tag, " font=", tpd.font);
 
    _print_data_string(&tag, " font_size=", tpd.font_size);
-   _print_data_string(&tag, " font_weight=", tpd.font_style_weight);
-   _print_data_string(&tag, " font_width=", tpd.font_style_width);
+   _print_string(&tag, " font_weight=", 
font_weight_list[tpd.font_style_weight]);
+   _print_string(&tag, " font_width=", font_width_list[tpd.font_style_width]);
 
    _print_color_string(&tag, " color=", tpd.color.r, tpd.color.g, tpd.color.b, 
tpd.color.a);
    _print_color_string(&tag, " underline_color=", tpd.underone_color.r, 
tpd.underone_color.g, tpd.underone_color.b, tpd.underone_color.a);
@@ -398,6 +398,7 @@ _update_style()
 
    CRIT_ON_FAIL(editor_style_tag_value_set(ap.project->global_object, 
tpd.current_style.st_name,
                                            tpd.current_style.st_tag, 
eina_strbuf_string_get(tag)));
+printf("STRING: [%s] \n", eina_strbuf_string_get(tag));
    eina_stringshare_del(tpd.current_style.stvalue);
    tpd.current_style.stvalue = 
eina_stringshare_add(eina_strbuf_string_get(tag));
    eina_strbuf_free(tag);

-- 


Reply via email to