raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3150546e30af97ed08626b35f8d2ee176412676a

commit 3150546e30af97ed08626b35f8d2ee176412676a
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Jun 4 09:02:54 2020 +0100

    bz5 - fix gadget state update if gadget was created later
    
    e.g. shelf re-configures or adds/removes etc. cause bt gadget icon to
    not show current state right. it was missing an "init the state" for
    these cases.
    
    @fix
---
 src/modules/bluez5/e_mod_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/bluez5/e_mod_main.c b/src/modules/bluez5/e_mod_main.c
index 6a115f04a..b3165ced9 100644
--- a/src/modules/bluez5/e_mod_main.c
+++ b/src/modules/bluez5/e_mod_main.c
@@ -179,6 +179,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, 
const char *style)
    e_gadcon_client_util_menu_attach(inst->gcc);
    evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, 
_ebluez5_cb_mouse_down, inst);
    instances = eina_list_append(instances, inst);
+   ebluez5_instances_update();
    return inst->gcc;
 }
 

-- 


Reply via email to