discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2fbcb807aa25e9efd87f3deb98c747283d01e27f

commit 2fbcb807aa25e9efd87f3deb98c747283d01e27f
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Nov 6 09:22:24 2017 -0500

    do not add iconify provider for luncher when creating a demo gadget
---
 src/modules/luncher/bar.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index a411493ef..58c0f07c1 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);
 

-- 


Reply via email to