elm_calendar: Fix header text bug.
authorWoochan Lee <wc0917.lee@samsung.com>
Tue, 13 Sep 2016 06:13:45 +0000 (15:13 +0900)
committerHermet Park <hermet@hermet.pe.kr>
Tue, 13 Sep 2016 06:17:27 +0000 (15:17 +0900)
commitcb15722768e5a3cdc8e3076f69d85eedc6ec90f9
tree260502e8123920089c8857b745839bc687a874c6
parent773aad7932e80b0e54db1a1f2bf5d061f027e869
elm_calendar: Fix header text bug.

Summary:
There is a bug. when calendar showing very first time.
the some of the headers(weekday name) is blank.

Because of elm_layout_text_set() called with NULL value.

Need to insert all of the weekday names before set text.

@fix

Test Plan:
Execute elementary_test
Open calendar sample.
See the all of the header names there.

Reviewers: cedric, jpeg, Hermet

Reviewed By: Hermet

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4290
src/lib/elementary/elm_calendar.c