1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-26 05:43:33 +01:00

Implement --status/-i in wicd-cli, to show current connection status.

This commit is contained in:
David Paleino
2012-09-26 17:32:12 +02:00
parent 1ece88dd29
commit 93a30244e3
3 changed files with 126 additions and 25 deletions

View File

@@ -46,6 +46,13 @@ CONNECTING = 1
WIRELESS = 2
WIRED = 3
SUSPENDED = 4
_const_status_dict = {
NOT_CONNECTED: _('Not connected'),
CONNECTING: _('Connection in progress'),
WIRELESS: _('Connected to a wireless network'),
WIRED: _('Connected to a wired network'),
SUSPENDED: _('Connection suspended'),
}
# Automatic app selection constant
AUTO = 0