panel: Remove error message from elm_panel_add API and _theme_apply func.
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 10 Feb 2015 04:41:13 +0000 (13:41 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 10 Feb 2015 04:41:13 +0000 (13:41 +0900)
commita6f4ef80e4721928943b28036e47abb9792dea56
tree6ddd6c0ac0ef1342142efe396ccefd71093ccce2
parent15e2ac4e7f46675049613787e925c58c57aa3155
panel: Remove error message from elm_panel_add API and _theme_apply func.

Summary:
elm_layout_content_set API calls _elm_panel_elm_container_content_set func.
The panel widget checks the given "parts" string is whether "elm.swallow.event" or not.
To avoid error message and set the given object to the "elm.swallow.event" internally,
the panel widget need to call *_content_set for "elm.swallow.event" part using eo_do_super.
@fix

Test Plan: elementary_test -> panel

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1949
legacy/elementary/src/lib/elm_panel.c