summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-01-17 04:44:05 +0000
committerChunEon Park <hermet@hermet.pe.kr>2013-01-17 04:44:05 +0000
commitf934daf25b9f7de51917041133ea50632dd97fef (patch)
tree8a564d7522d52c4421b1a501cf707a8374254275
parente52a6f9eef18ab649dd680a1dd88b32dee328019 (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--AUTHORS1
-rw-r--r--ChangeLog6
-rw-r--r--NEWS1
-rw-r--r--src/lib/elc_ctxpopup.c1
4 files changed, 9 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 42e3fd58b..792337a23 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -73,3 +73,4 @@ Murilo Belluzzo <murilo.belluzzo@profusion.mobi>
73Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> 73Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>
74Gwanglim Lee <gl77.lee@samsung.com> <gwanglim@gmail.com> 74Gwanglim Lee <gl77.lee@samsung.com> <gwanglim@gmail.com>
75JaeHyun Jo <jae_hyun_cho@naver.com> 75JaeHyun Jo <jae_hyun_cho@naver.com>
76Bora Hwang <bora1.hwang@samsung.com>
diff --git a/ChangeLog b/ChangeLog
index 1280d9426..b4c2a933a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -923,3 +923,9 @@
9232013-01-16 Daniel Juyung Seo (SeoZ) 9232013-01-16 Daniel Juyung Seo (SeoZ)
924 924
925 * Fix thumb theme hook. 925 * Fix thumb theme hook.
926
9272013-01-17 Bora Hwang (bora1.hwang@samsung.com)
928
929 * when parent of ctxpopup is resized, ctxpopup calls dismissed signal
930
931
diff --git a/NEWS b/NEWS
index d7a7fcb42..799882803 100644
--- a/NEWS
+++ b/NEWS
@@ -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
137Changes since Elementary 1.0.0: 138Changes 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
620static void 621static void