This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/125/head
in repository enlightenment.
View the commit online.
commit 80482f4da4a55e26324ebb7cd177579ec0a0f4a4
Author: [email protected] <[email protected]>
AuthorDate: Sun Mar 15 20:49:19 2026 -0600
fix(networkmanager): block edje icon hover programs with transparent overlay
Wrap AP and ethernet edje icons in elm_table with a transparent
evas_object_rectangle on top. The rectangle intercepts mouse events
before they reach the edje icon theme programs (preventing hover-fade),
while still propagating events to the genlist row for click-to-connect.
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---
src/modules/networkmanager/e_mod_main.c | 40 ++++++++++++++++++++++++++++-----
1 file changed, 34 insertions(+), 6 deletions(-)
diff --git a/src/modules/networkmanager/e_mod_main.c b/src/modules/networkmanager/e_mod_main.c
index a144b3310..c158878c5 100644
--- a/src/modules/networkmanager/e_mod_main.c
+++ b/src/modules/networkmanager/e_mod_main.c
@@ -137,9 +137,23 @@ _enm_itc_ap_content_get(void *data, Evas_Object *obj, const char *part)
if (!strcmp(part, "elm.swallow.icon"))
{
- Evas_Object *ic = _enm_ap_icon_new(id->nm, id->ap, evas_object_evas_get(obj));
- if (ic) evas_object_size_hint_min_set(ic, ELM_SCALE_SIZE(32), ELM_SCALE_SIZE(32));
- return ic;
+ Evas_Object *ic, *tbl, *rect;
+
+ ic = _enm_ap_icon_new(id->nm, id->ap, evas_object_evas_get(obj));
+ if (!ic) return NULL;
+ evas_object_size_hint_min_set(ic, ELM_SCALE_SIZE(32), ELM_SCALE_SIZE(32));
+ evas_object_show(ic);
+
+ tbl = elm_table_add(obj);
+ elm_table_pack(tbl, ic, 0, 0, 1, 1);
+
+ rect = evas_object_rectangle_add(evas_object_evas_get(obj));
+ evas_object_color_set(rect, 0, 0, 0, 0);
+ evas_object_size_hint_min_set(rect, ELM_SCALE_SIZE(32), ELM_SCALE_SIZE(32));
+ evas_object_show(rect);
+ elm_table_pack(tbl, rect, 0, 0, 1, 1);
+
+ return tbl;
}
if (!strcmp(part, "elm.swallow.end"))
return _enm_ap_end_new(id->nm, id->ap, obj);
@@ -168,9 +182,23 @@ _enm_itc_eth_content_get(void *data, Evas_Object *obj, const char *part)
if (!strcmp(part, "elm.swallow.icon"))
{
- Evas_Object *ic = _enm_eth_icon_new(id->dev, evas_object_evas_get(obj));
- if (ic) evas_object_size_hint_min_set(ic, ELM_SCALE_SIZE(32), ELM_SCALE_SIZE(32));
- return ic;
+ Evas_Object *ic, *tbl, *rect;
+
+ ic = _enm_eth_icon_new(id->dev, evas_object_evas_get(obj));
+ if (!ic) return NULL;
+ evas_object_size_hint_min_set(ic, ELM_SCALE_SIZE(32), ELM_SCALE_SIZE(32));
+ evas_object_show(ic);
+
+ tbl = elm_table_add(obj);
+ elm_table_pack(tbl, ic, 0, 0, 1, 1);
+
+ rect = evas_object_rectangle_add(evas_object_evas_get(obj));
+ evas_object_color_set(rect, 0, 0, 0, 0);
+ evas_object_size_hint_min_set(rect, ELM_SCALE_SIZE(32), ELM_SCALE_SIZE(32));
+ evas_object_show(rect);
+ elm_table_pack(tbl, rect, 0, 0, 1, 1);
+
+ return tbl;
}
return NULL;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.