summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-04 09:02:54 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-04 09:02:54 +0100
commit3150546e30af97ed08626b35f8d2ee176412676a (patch)
tree97a05bd692896d2396c709e17f433880dd539899 /src
parent7062c0fa4c7351a000259dbd6b1b01627881d7bd (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/bluez5/e_mod_main.c1
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 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)
179 e_gadcon_client_util_menu_attach(inst->gcc); 179 e_gadcon_client_util_menu_attach(inst->gcc);
180 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, _ebluez5_cb_mouse_down, inst); 180 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, _ebluez5_cb_mouse_down, inst);
181 instances = eina_list_append(instances, inst); 181 instances = eina_list_append(instances, inst);
182 ebluez5_instances_update();
182 return inst->gcc; 183 return inst->gcc;
183} 184}
184 185