efl/legacy
Andrii Kroitor 1c34950609 elm_clock: fix theme apply
Summary:
theme change was delayed untill some other change (i.e. mode change, clock update)
@fix

Test Plan:
1. create new style "test" for elm_clock
2. add this style to theme
3. compare results of following modifications of src/examples/clock_example.c:

```
   /* am/pm */
   ck = elm_clock_add(win);
   elm_object_style_set(ck, "test"); //style is applied before ap_pm set
   elm_clock_show_am_pm_set(ck, EINA_TRUE);
```
and
```
   /* am/pm */
   ck = elm_clock_add(win);
   elm_clock_show_am_pm_set(ck, EINA_TRUE);
   elm_object_style_set(ck, "test"); //style is applied after ap_pm set
```
ExR: style is applied in both cases
Result without this patch: style is applied only in first case

Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2349
2015-04-20 14:17:20 +09:00
..
elementary elm_clock: fix theme apply 2015-04-20 14:17:20 +09:00