forked from enlightenment/efl
elementary/ctxpopup - [E-devel] [Patch] when parent of ctxpopup is resized, call dismissed signal
Before the patch, when window of device which has elementary rotates, the ctxpopup doesn't emit the "dismissed" signal to application. For this reason, if an application developer wants to make an event using "dismissed" signal when device rotates, he/she cannot do anything. But after add evas_object_smart_callback in the function "_on_parent_resize", this problem is resolved. That means, whether a device is rotated or not, when ctxpopup disappears, "dismissed" signal is emitted. So I want you to check this patch. Thank you. Signed-Off-By: Bora Hwang<bora1.hwang@samsung.com> SVN revision: 82918
This commit is contained in:
parent
1a9f44f993
commit
ee37e89a1c
|
@ -73,3 +73,4 @@ Murilo Belluzzo <murilo.belluzzo@profusion.mobi>
|
|||
Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
|
||||
Gwanglim Lee <gl77.lee@samsung.com> <gwanglim@gmail.com>
|
||||
JaeHyun Jo <jae_hyun_cho@naver.com>
|
||||
Bora Hwang <bora1.hwang@samsung.com>
|
||||
|
|
|
@ -923,3 +923,9 @@
|
|||
2013-01-16 Daniel Juyung Seo (SeoZ)
|
||||
|
||||
* Fix thumb theme hook.
|
||||
|
||||
2013-01-17 Bora Hwang (bora1.hwang@samsung.com)
|
||||
|
||||
* when parent of ctxpopup is resized, ctxpopup calls dismissed signal
|
||||
|
||||
|
||||
|
|
|
@ -133,6 +133,7 @@ Removals:
|
|||
to deprecation. Thus, people using that (unstable) API will have
|
||||
to adapt themselves.
|
||||
* Deprecate elm_label_slide_set(), elm_label_slide_get().
|
||||
* when parent of ctxpopup is resized, ctxpopup calls dismissed signal.
|
||||
|
||||
Changes since Elementary 1.0.0:
|
||||
-------------------------
|
||||
|
|
|
@ -615,6 +615,7 @@ _on_parent_resize(void *data,
|
|||
sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;
|
||||
|
||||
evas_object_hide(data);
|
||||
evas_object_smart_callback_call(data, SIG_DISMISSED, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue