mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-09-18 12:46:58 +02:00
refactor(networkmanager): rename DeviceStateChanged event to DeviceChanged
Also add a little TODO about icon order.
This commit is contained in:
parent
ec00b2ce69
commit
4c516a1c2a
3 changed files with 15 additions and 15 deletions
|
@ -2,10 +2,10 @@ use crate::clients::networkmanager::dbus::{DeviceState, DeviceType};
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum ClientToModuleEvent {
|
||||
DeviceStateChanged {
|
||||
DeviceChanged {
|
||||
interface: String,
|
||||
r#type: DeviceType,
|
||||
state: DeviceState,
|
||||
new_state: DeviceState,
|
||||
},
|
||||
DeviceRemoved {
|
||||
interface: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue