edje: update a style when a style is added as class's member
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 11 Jul 2016 04:13:38 +0000 (13:13 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 11 Jul 2016 04:13:39 +0000 (13:13 +0900)
commit8e93b88175f2c97677fbb40628953bd1a12f3578
treeb81fc3f2883a08947f80f500d79834e38e308929
parent5b791420ea03d27d6126a8e048491e056008606b
edje: update a style when a style is added as class's member

Summary:
If there is no member styles when a text_class is updated,
newly added styles can't be updated.
So, newly added styles as member of text_class should be updated.
@fix

Test Plan:
Test case is included.

1. Run "elementary_test -to "font overlay""
2. Press Next button. Check the font size.
3. Press Prev button.
4. Put font_size as 50
5. Click Apply button.
6. Press Next button. Check the font size is not changed.

Reviewers: cedric, tasn, herdsman, raster

Subscribers: jpeg, z-wony, Blackmole

Differential Revision: https://phab.enlightenment.org/D4125
data/elementary/objects/test.edc
src/bin/elementary/test.c
src/bin/elementary/test_config.c
src/lib/edje/edje_textblock_styles.c