diff options
author | Kevin <[email protected]> | 2024-11-11 00:45:17 -0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-11 00:45:17 -0300 |
commit | 88291578497345523e797ea7cc8b61560906e3aa (patch) | |
tree | ceaf4cbf2f30dfc1a76f342e7f2515b12b20b372 /lib | |
parent | 44710fb30105f5e76fc84845e9379787440f3c4c (diff) | |
parent | 302fcae7ae0b58767518e6003d0a80966d7ca4bb (diff) |
Merge branch 'Aylur:main' into lua-refactor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/network.vala | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/network/network.vala b/lib/network/network.vala index fb7efa0..96e19c8 100644 --- a/lib/network/network.vala +++ b/lib/network/network.vala @@ -149,19 +149,19 @@ public enum AstalNetwork.Connectivity { // alias for NM.DeviceState public enum AstalNetwork.DeviceState { - UNKNOWN, - UNMANAGED, - UNAVAILABLE, - DISCONNECTED, - PREPARE, - CONFIG, - NEED_AUTH, - IP_CONFIG, - IP_CHECK, - SECONDARIES, - ACTIVATED, - DEACTIVATING, - FAILED; + UNKNOWN = 0, + UNMANAGED = 10, + UNAVAILABLE = 20, + DISCONNECTED = 30, + PREPARE = 40, + CONFIG = 50, + NEED_AUTH = 60, + IP_CONFIG = 70, + IP_CHECK = 80, + SECONDARIES = 90, + ACTIVATED = 100, + DEACTIVATING = 110, + FAILED = 120; public string to_string() { switch (this) { |