summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-23 17:41:39 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-23 17:49:43 -0400
commit0180cef47d2d96380e520d20be1f84bc0fe9fc85 (patch)
treeb174af9550b5586dd1861b6354b1ae442094534e
parenta441d4d22ab7a2c9c9c6a1cc5dd9fc305c7c24ee (diff)
do not attempt to pack cpumonitor into box in sysinfo mode
this causes an eo error
-rw-r--r--src/modules/sysinfo/cpumonitor/cpumonitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/sysinfo/cpumonitor/cpumonitor.c b/src/modules/sysinfo/cpumonitor/cpumonitor.c
index f0ea58673..4ad5f61ca 100644
--- a/src/modules/sysinfo/cpumonitor/cpumonitor.c
+++ b/src/modules/sysinfo/cpumonitor/cpumonitor.c
@@ -347,7 +347,8 @@ sysinfo_cpumonitor_create(Evas_Object *parent, Instance *inst)
347 inst->cfg->cpumonitor.o_gadget = elm_table_add(parent); 347 inst->cfg->cpumonitor.o_gadget = elm_table_add(parent);
348 E_EXPAND(inst->cfg->cpumonitor.o_gadget); 348 E_EXPAND(inst->cfg->cpumonitor.o_gadget);
349 E_FILL(inst->cfg->cpumonitor.o_gadget); 349 E_FILL(inst->cfg->cpumonitor.o_gadget);
350 elm_box_pack_end(inst->o_main, inst->cfg->cpumonitor.o_gadget); 350 if (inst->cfg->esm != E_SYSINFO_MODULE_SYSINFO)
351 elm_box_pack_end(inst->o_main, inst->cfg->cpumonitor.o_gadget);
351 evas_object_show(inst->cfg->cpumonitor.o_gadget); 352 evas_object_show(inst->cfg->cpumonitor.o_gadget);
352 353
353 inst->cfg->cpumonitor.o_gadget_box = elm_box_add(inst->cfg->cpumonitor.o_gadget); 354 inst->cfg->cpumonitor.o_gadget_box = elm_box_add(inst->cfg->cpumonitor.o_gadget);