fix(network): register secret agent at NetworkManager's expected object path
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2c95057716
commit
1473e1f008
3 changed files with 13 additions and 1 deletions
|
|
@ -405,6 +405,7 @@ fn secret_agent_task(identifier: String) -> Task<NmAgentEvent> {
|
|||
cosmic::Task::stream(async_fn_stream::fn_stream(move |emitter| async move {
|
||||
let registration = SecretAgent::builder()
|
||||
.with_identifier(identifier)
|
||||
.with_object_path("/org/freedesktop/NetworkManager/SecretAgent")
|
||||
.with_capabilities(SecretAgentCapabilities::VPN_HINTS)
|
||||
.register()
|
||||
.await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue