This is an automated email from the git hooks/post-receive script.
git pushed a commit to reference refs/pull/107/head
in repository efl.
View the commit online.
commit 59c4f40de31976d8faa6b477ba0d51746f1cb902
Author: [email protected] <[email protected]>
AuthorDate: Sat Mar 7 12:15:20 2026 -0700
feat: add hover tooltip to ConnMan gadget theme
Display SSID or interface name on mouse hover with animated text scroll.
The tooltip fades in on hover with a dimmed icon backdrop (25% opacity),
then scrolls horizontally in a continuous loop. Text and icon fade out
when the mouse leaves the gadget.
Implementation details:
- Added icon_dim RECT part that clips all technology parts and controls
opacity fade (255 → 64 on hover)
- Added label_clip RECT part for fade in/out of tooltip text
- Added e.text.label TEXT part with marquee scroll animation
- Added three programs: label_show (on mouse in), scroll_l/scroll_r
(continuous scroll loop), label_hide (on mouse out)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
data/elementary/themes/edc/connman.edc | 70 ++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
diff --git a/data/elementary/themes/edc/connman.edc b/data/elementary/themes/edc/connman.edc
index d8604c001d..61ac638bcd 100644
--- a/data/elementary/themes/edc/connman.edc
+++ b/data/elementary/themes/edc/connman.edc
@@ -240,6 +240,7 @@ group { name: "e/modules/connman/main";
}
///////////////////////
part { name: "clip_exclam"; type: RECT;
+ clip_to: "icon_dim";
description { state: "default" 0.0;
visible: 1;
}
@@ -256,7 +257,16 @@ group { name: "e/modules/connman/main";
visible: 0;
}
}
+ part { name: "icon_dim"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 255; // no cc
+ }
+ description { state: "visible" 0.0;
+ color: 255 255 255 64; // no cc
+ }
+ }
part { name: "clip_wifi"; type: RECT;
+ clip_to: "icon_dim";
description { state: "default" 0.0;
visible: 0;
}
@@ -274,6 +284,7 @@ group { name: "e/modules/connman/main";
}
}
part { name: "clip_eth"; type: RECT;
+ clip_to: "icon_dim";
description { state: "default" 0.0;
visible: 0;
}
@@ -291,6 +302,7 @@ group { name: "e/modules/connman/main";
}
}
part { name: "clip_bt"; type: RECT;
+ clip_to: "icon_dim";
description { state: "default" 0.0;
visible: 0;
}
@@ -308,6 +320,7 @@ group { name: "e/modules/connman/main";
}
}
part { name: "clip_cell"; type: RECT;
+ clip_to: "icon_dim";
description { state: "default" 0.0;
visible: 0;
}
@@ -324,6 +337,37 @@ group { name: "e/modules/connman/main";
visible: 1;
}
}
+ part { name: "label_clip"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 0; // no cc
+ }
+ description { state: "visible" 0.0;
+ color: 255 255 255 255; // no cc
+ }
+ }
+ part { name: "e.text.label"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ clip_to: "label_clip";
+ description { state: "default" 0.0;
+ color_class: "/fg/selected/gadgets/connman/text";
+ color: 255 255 255 255; // no cc
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 1.0 0.5;
+ text { font: FN; size: 8;
+ min: 1 1;
+ text_class: "module_small";
+ }
+ fixed: 1 1;
+ }
+ description { state: "scroll_left" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ description { state: "scroll_right" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ }
+ }
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
@@ -510,6 +554,32 @@ else { \
target: "clip_bt";
target: "clip_cell";
}
+ program { name: "label_show"; signal: "mouse,in"; source: "event";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.25;
+ target: "label_clip";
+ target: "icon_dim";
+ after: "scroll_l";
+ }
+ program { name: "scroll_l";
+ action: STATE_SET "scroll_left" 0.0;
+ transition: LINEAR 3.0;
+ target: "e.text.label";
+ after: "scroll_r";
+ }
+ program { name: "scroll_r";
+ action: STATE_SET "scroll_right" 0.0;
+ transition: LINEAR 3.0;
+ target: "e.text.label";
+ after: "scroll_l";
+ }
+ program { name: "label_hide"; signal: "mouse,out"; source: "event";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 1.0;
+ target: "label_clip";
+ target: "icon_dim";
+ target: "e.text.label";
+ }
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.