discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=37c146435d22061e4db10f641cd99c71a4bb869f

commit 37c146435d22061e4db10f641cd99c71a4bb869f
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Sep 22 12:36:41 2015 -0400

    only unpopulate a shelf when applying new settings if the shelf won't be 
recreated
---
 src/bin/e_int_shelf_config.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_int_shelf_config.c b/src/bin/e_int_shelf_config.c
index 6c21944..1771369 100644
--- a/src/bin/e_int_shelf_config.c
+++ b/src/bin/e_int_shelf_config.c
@@ -347,7 +347,8 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata)
           }
      }
 
-   e_gadcon_unpopulate(cfdata->es->gadcon);
+   if (!recreate)
+     e_gadcon_unpopulate(cfdata->es->gadcon);
    if (!cfdata->escfg->style)
      {
         cfdata->escfg->style = eina_stringshare_ref(cfdata->style);

-- 


Reply via email to