From: Enlightenment S. <no-...@en...> - 2009-05-30 17:50:25
|
Log: update the popup when switching plugins Author: urandom Date: 2009-05-30 10:50:19 -0700 (Sat, 30 May 2009) New Revision: 40861 Modified: trunk/E-MODULES-EXTRA/drawer/src/e_mod_main.c Modified: trunk/E-MODULES-EXTRA/drawer/src/e_mod_main.c =================================================================== --- trunk/E-MODULES-EXTRA/drawer/src/e_mod_main.c 2009-05-30 17:39:12 UTC (rev 40860) +++ trunk/E-MODULES-EXTRA/drawer/src/e_mod_main.c 2009-05-30 17:50:19 UTC (rev 40861) @@ -405,8 +405,13 @@ else if (cat == DRAWER_COMPOSITES) _drawer_composite_new(inst, name); - if ((inst->composite || (inst->source && inst->view)) && inst->flags.is_floating) - _drawer_container_update(inst); + if ((inst->composite || (inst->source && inst->view))) + { + if (inst->flags.is_floating) + _drawer_container_update(inst); + else + inst->flags.pop_update = EINA_TRUE; + } return NULL; } @@ -634,6 +639,8 @@ default: break; } + if (inst->flags.pop_update) + _drawer_popup_update(inst); inst->flags.pop_showing = EINA_TRUE; e_gadcon_popup_show(inst->popup); e_gadcon_locked_set(inst->gcc->gadcon, 1); |