manager: Improve module naming

This commit is contained in:
Vicki Pfau 2024-05-08 15:27:18 -07:00
parent dc7de16137
commit 6cccb333a2
6 changed files with 19 additions and 11 deletions

View file

@ -13,7 +13,7 @@ use zbus::connection::Connection;
use zbus::ConnectionBuilder;
use crate::daemon::Daemon;
use crate::user_manager::SteamOSManagerUser;
use crate::manager::user::SteamOSManager;
async fn create_connections() -> Result<(Connection, Connection)> {
let system = Connection::system().await?;
@ -22,7 +22,7 @@ async fn create_connections() -> Result<(Connection, Connection)> {
.build()
.await?;
let manager = SteamOSManagerUser::new(connection.clone(), &system).await?;
let manager = SteamOSManager::new(connection.clone(), &system).await?;
connection
.object_server()
.at("/com/steampowered/SteamOSManager1", manager)