devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=89db85e4e7df2bcf6777d972afeedb0c63c4571c

commit 89db85e4e7df2bcf6777d972afeedb0c63c4571c
Author: Christopher Michael <devilho...@comcast.net>
Date:   Wed Jan 20 12:37:50 2021 -0500

    e_int_config_shelf: Add parent param to e_shelf_new_dialog function call
    
    This stops the ability to close the Shelf Settings dialog while the
    Add New Shelf dialog is open
---
 src/modules/conf_shelves/e_int_config_shelf.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/conf_shelves/e_int_config_shelf.c 
b/src/modules/conf_shelves/e_int_config_shelf.c
index 8482639b8..a9a0b7bd1 100644
--- a/src/modules/conf_shelves/e_int_config_shelf.c
+++ b/src/modules/conf_shelves/e_int_config_shelf.c
@@ -349,9 +349,10 @@ _cb_add(void *data, void *data2 EINA_UNUSED)
    if (!cfdata) return;
 
    zone = e_comp_object_util_zone_get(cfdata->cfd->dia->win);
-   cfdata->dia_new_shelf = e_shelf_new_dialog(zone);
+   cfdata->dia_new_shelf = e_shelf_new_dialog(cfdata->cfd->dia->win, zone);
    e_object_data_set(E_OBJECT(cfdata->dia_new_shelf), cfdata);
-   e_object_del_attach_func_set(E_OBJECT(cfdata->dia_new_shelf), 
_new_shelf_cb_close);
+   e_object_del_attach_func_set(E_OBJECT(cfdata->dia_new_shelf),
+                                _new_shelf_cb_close);
    _widgets_disable(cfdata, 1, EINA_TRUE);
    cfdata->num_shelves = eina_list_count(e_config->shelves);
 }

-- 


Reply via email to