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:
parent
4e2352c9e9
commit
288cfeb9a8
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue