Phase 3: popup UI with network list and passphrase dialog
e_gadcon_popup hosts a status label, a scrollable list of networks (snapshotted from iwd_manager and sorted: connected → known → alpha), and Rescan/Enable/Disable action buttons. Clicking a network calls Network.Connect; iwd then asks our Agent for a passphrase, which is routed to a modal elm_popup via iwd_manager_set_passphrase_handler. The passphrase handler is installed at module init so iwd-initiated auth works even when the popup is closed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
fcd4427de1
commit
e66a3effa6
6 changed files with 365 additions and 18 deletions
|
|
@ -57,7 +57,7 @@ _on_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, vo
|
|||
Evas_Event_Mouse_Down *ev = event_info;
|
||||
Instance *inst = data;
|
||||
if (ev->button == 1)
|
||||
e_iwd_popup_toggle(inst->gcc->o_base);
|
||||
e_iwd_popup_toggle(inst->gcc);
|
||||
}
|
||||
|
||||
/* ----- helpers --------------------------------------------------------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue