diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-06-04 09:02:54 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-06-04 09:02:54 +0100 |
commit | 3150546e30af97ed08626b35f8d2ee176412676a (patch) | |
tree | 97a05bd692896d2396c709e17f433880dd539899 | |
parent | 7062c0fa4c7351a000259dbd6b1b01627881d7bd (diff) | |
download | enlightenment-3150546e30af97ed08626b35f8d2ee176412676a.tar.gz |
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
-rw-r--r-- | src/modules/bluez5/e_mod_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/bluez5/e_mod_main.c b/src/modules/bluez5/e_mod_main.c index 6a115f04a2..b3165ced97 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; } |