popup: Change the behavior of adding or removing buttons.
authorRyuan Choi <ryuan.choi@gmail.com>
Sun, 13 Oct 2013 15:57:42 +0000 (00:57 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 13 Oct 2013 16:04:01 +0000 (01:04 +0900)
commit4314560b49a57aebbafb3a6b483ac876a68d4e54
treee2dcd40054ea36e8b2f53a847835ed0c90d9d474
parente23e151242f7ae1fddf1f349857ac213fd2104e5
popup: Change the behavior of adding or removing buttons.

Summary:
Although user should give the position of button such as button1, current elm_popup
changes button's position or style as the number of buttons while adding or removing
buttons.

So, when application developers add buttons as wrong order or removed buttons,
applications may be crashed.

This patch refactored the behavior not to change the position intended by application
developer.

Test Plan: added new test case to test_popup.

Reviewers: seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D259
legacy/elementary/ChangeLog
legacy/elementary/NEWS
legacy/elementary/src/bin/test_popup.c
legacy/elementary/src/lib/elc_popup.c
legacy/elementary/src/lib/elm_widget_popup.h