From adae1d90002f76f52e6fc823a1f92a945c18e6ed Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 18 Dec 2012 09:20:32 +0000 Subject: [PATCH] prevent shelf artifacts when re-creating shelf after config ticket #2005 SVN revision: 81224 --- src/bin/e_int_shelf_config.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_int_shelf_config.c b/src/bin/e_int_shelf_config.c index 856e1111a..7a7519a56 100644 --- a/src/bin/e_int_shelf_config.c +++ b/src/bin/e_int_shelf_config.c @@ -369,6 +369,7 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) } } + e_gadcon_unpopulate(cfdata->es->gadcon); if (recreate) { E_Zone *zone; @@ -377,11 +378,14 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) zone = cfdata->es->zone; cf_es = cfdata->es->cfg; cfdata->es->config_dialog = NULL; + e_shelf_hide(cfdata->es); e_object_del(E_OBJECT(cfdata->es)); cfdata->es = e_shelf_config_new(zone, cf_es); cfdata->es->config_dialog = cfd; } + else + e_gadcon_populate(cfdata->es->gadcon); if (cfdata->escfg->desk_show_mode) {