diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2013-01-17 04:44:05 +0000 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2013-01-17 04:44:05 +0000 |
commit | f934daf25b9f7de51917041133ea50632dd97fef (patch) | |
tree | 8a564d7522d52c4421b1a501cf707a8374254275 | |
parent | e52a6f9eef18ab649dd680a1dd88b32dee328019 (diff) |
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
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/lib/elc_ctxpopup.c | 1 |
4 files changed, 9 insertions, 0 deletions
@@ -73,3 +73,4 @@ Murilo Belluzzo <murilo.belluzzo@profusion.mobi> | |||
73 | Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> | 73 | Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> |
74 | Gwanglim Lee <gl77.lee@samsung.com> <gwanglim@gmail.com> | 74 | Gwanglim Lee <gl77.lee@samsung.com> <gwanglim@gmail.com> |
75 | JaeHyun Jo <jae_hyun_cho@naver.com> | 75 | JaeHyun Jo <jae_hyun_cho@naver.com> |
76 | Bora Hwang <bora1.hwang@samsung.com> | ||
@@ -923,3 +923,9 @@ | |||
923 | 2013-01-16 Daniel Juyung Seo (SeoZ) | 923 | 2013-01-16 Daniel Juyung Seo (SeoZ) |
924 | 924 | ||
925 | * Fix thumb theme hook. | 925 | * Fix thumb theme hook. |
926 | |||
927 | 2013-01-17 Bora Hwang (bora1.hwang@samsung.com) | ||
928 | |||
929 | * when parent of ctxpopup is resized, ctxpopup calls dismissed signal | ||
930 | |||
931 | |||
@@ -133,6 +133,7 @@ Removals: | |||
133 | to deprecation. Thus, people using that (unstable) API will have | 133 | to deprecation. Thus, people using that (unstable) API will have |
134 | to adapt themselves. | 134 | to adapt themselves. |
135 | * Deprecate elm_label_slide_set(), elm_label_slide_get(). | 135 | * Deprecate elm_label_slide_set(), elm_label_slide_get(). |
136 | * when parent of ctxpopup is resized, ctxpopup calls dismissed signal. | ||
136 | 137 | ||
137 | Changes since Elementary 1.0.0: | 138 | Changes since Elementary 1.0.0: |
138 | ------------------------- | 139 | ------------------------- |
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 01782db8c..f79c38aa4 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c | |||
@@ -615,6 +615,7 @@ _on_parent_resize(void *data, | |||
615 | sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN; | 615 | sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN; |
616 | 616 | ||
617 | evas_object_hide(data); | 617 | evas_object_hide(data); |
618 | evas_object_smart_callback_call(data, SIG_DISMISSED, NULL); | ||
618 | } | 619 | } |
619 | 620 | ||
620 | static void | 621 | static void |