summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-06 09:22:24 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-07 10:39:26 -0500
commit18de7db6f635e465eb556241701691ca2738bc03 (patch)
tree9a22f578008f50467246335ff1b91f910f08f0a8
parenta5adcb1df761293360f661db82108b69f5e786b3 (diff)
downloadenlightenment-18de7db6f635e465eb556241701691ca2738bc03.tar.gz
do not add iconify provider for luncher when creating a demo gadget
-rw-r--r--src/modules/luncher/bar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index a411493efa..58c0f07c16 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -1880,8 +1880,9 @@ _bar_created_cb(void *data, Evas_Object *obj, void *event_data EINA_UNUSED)
if (inst->cfg->type != E_LUNCHER_MODULE_LAUNCH_ONLY)
{
- inst->iconify_provider = e_comp_object_effect_mover_add(80, "e,action,*iconify",
- _bar_iconify_start, inst);
+ if (inst->cfg->id != -1)
+ inst->iconify_provider = e_comp_object_effect_mover_add(80, "e,action,*iconify",
+ _bar_iconify_start, inst);
}
_bar_fill(inst);