1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00

docs: expand comment about dbus client refactor

This commit is contained in:
Reinout Meliesie 2024-03-29 21:01:36 +01:00
parent 4e2352c9e9
commit 288cfeb9a8
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -54,7 +54,10 @@ impl Module<gtk::Box> for NetworkmanagerModule {
let tx = context.tx.clone();
spawn(async move {
// TODO: Maybe move this into a `client` à la `upower`?
/* TODO: This should be moved into a client à la the upower module, however that
requires additional refactoring as both would request a PropertyProxy but on
different buses. The proper solution will be to rewrite both to use trait-derived
proxies. */
let nm_proxy = {
let dbus = zbus::Connection::system().await?;
PropertiesProxy::builder(&dbus)