diff --git a/Cargo.toml b/Cargo.toml index 5b27e60..fcadde9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ description = "A wip universal Linux settings application." [dependencies] reset_daemon = "0.4.6" -re_set-lib = "0.6.5" +re_set-lib = "0.6.6" adw = { version = "0.5.3", package = "libadwaita", features = ["v1_4"] } dbus = "0.9.7" gtk = { version = "0.7.3", package = "gtk4", features = ["v4_12"] } diff --git a/src/components/wifi/wifi_options.rs b/src/components/wifi/wifi_options.rs index 92224f3..80fddd9 100644 --- a/src/components/wifi/wifi_options.rs +++ b/src/components/wifi/wifi_options.rs @@ -1,3 +1,4 @@ +use std::collections::HashMap; use std::net::{Ipv4Addr, Ipv6Addr}; use std::str::FromStr; use std::sync::Arc; @@ -375,7 +376,7 @@ fn setup_callbacks(wifi_options: &Arc, path: Path<'static>) { })); } -fn set_connection_settings(path: Path<'static>, prop: PropMap) { +fn set_connection_settings(path: Path<'static>, prop: HashMap) { gio::spawn_blocking(move || { let conn = dbus::blocking::Connection::new_session().unwrap(); let proxy = conn.with_proxy(