only unpopulate a shelf when applying new settings if the shelf won't be recreated
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 22 Sep 2015 16:36:41 +0000 (12:36 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 22 Sep 2015 16:36:41 +0000 (12:36 -0400)
src/bin/e_int_shelf_config.c

index 6c21944..1771369 100644 (file)
@@ -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);