Source: ubuntu-sso-client
Version: 1.0.8
Severity: important
User: [email protected]
Usertags: nm-0.9
Hi,
as part of the ongoing GNOME 3 transition, I plan to upload
network-manager 0.9 to unstable soon.
It is currently available from experimental.
ubuntu-sso-client uses the D-Bus API of NetworkManager to query for
on/offline state:
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py:NM_STATE_NAMES = {
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py:NM_STATE_UNKNOWN = 0
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py:NM_STATE_ASLEEP = 1
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py:NM_STATE_CONNECTING = 2
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py:NM_STATE_CONNECTED = 3
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py:NM_STATE_DISCONNECTED = 4
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py: if state ==
NM_STATE_CONNECTED:
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py: elif state ==
NM_STATE_CONNECTING:
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py: if int(state) ==
NM_STATE_CONNECTED:
ubuntu-sso-client-1.0.8/ubuntu_sso/networkstate.py: elif int(state) ==
NM_STATE_DISCONNECTED:
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/bin/show_nm_state:from
ubuntu_sso.networkstate import NetworkManagerState, NM_STATE_NAMES
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/bin/show_nm_state: print
NM_STATE_NAMES[state]
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
NM_STATE_DISCONNECTED,
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
NM_STATE_CONNECTING,
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
NM_STATE_CONNECTED)
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
nms.got_state(NM_STATE_CONNECTED)
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
nms.got_state(NM_STATE_DISCONNECTED)
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
nms.got_state(NM_STATE_CONNECTING)
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
nms.state_changed(NM_STATE_CONNECTED)
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
nms.got_state(NM_STATE_CONNECTING)
ubuntu-sso-client-1.0.8/ubuntu_sso/tests/test_networkstate.py:
nms.state_changed(NM_STATE_DISCONNECTED)
These checks should be updated to support the new states provided by
network-manager 0.9. There is a migration guide at [1].
>From a cursory glance at the Ubuntu package, it looks like they have
already updated the package accordingly and simply syncing the package
and updating it to 1.3.3 should suffice.
Cheers,
Michael
[1]
http://projects.gnome.org/NetworkManager/developers/api/09/ref-migrating.html
[2] http://packages.ubuntu.com/oneiric/ubuntu-sso-client
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-1-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]