summaryrefslogtreecommitdiff
path: root/src/modules/datetime_input_ctxpopup
diff options
context:
space:
mode:
authorWooHyun Jung <woohyun0705@gmail.com>2012-09-12 06:18:43 +0000
committerWooHyun Jung <woohyun0705@gmail.com>2012-09-12 06:18:43 +0000
commit5e44fbc01038a3abdd925084bbe683c49471e20c (patch)
tree0037179cd9a1f69bfd3705cca7ee898c1ce22f6c /src/modules/datetime_input_ctxpopup
parent59121963a0b9b85899fd1528c4a33e5c77c86b49 (diff)
elementary/datetime : Ctxpopup should be hidden when datetime is
unfocused. SVN revision: 76489
Diffstat (limited to 'src/modules/datetime_input_ctxpopup')
-rw-r--r--src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
index 332bd3b92..dec9b2e1b 100644
--- a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
+++ b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
@@ -352,6 +352,18 @@ obj_unhook(Elm_Datetime_Module_Data *module_data)
352 } 352 }
353} 353}
354 354
355EAPI void
356obj_hide(Elm_Datetime_Module_Data *module_data)
357{
358 Ctxpopup_Module_Data *ctx_mod;
359
360 ctx_mod = (Ctxpopup_Module_Data *)module_data;
361 if (!ctx_mod) return;
362
363 if (ctx_mod->ctxpopup)
364 evas_object_hide(ctx_mod->ctxpopup);
365}
366
355// module api funcs needed 367// module api funcs needed
356EAPI int 368EAPI int
357elm_modapi_init(void *m __UNUSED__) 369elm_modapi_init(void *m __UNUSED__)