Source: zeroinstall-injector Version: 1.2-1 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. zeroinstall-injector uses the D-Bus API of NetworkManager to query for on/offline state. During an automated grep for NM_STATE, the following references turned up: zeroinstall-injector-1.2/zeroinstall/injector/background.py: NM_STATE_UNKNOWN = 0 zeroinstall-injector-1.2/zeroinstall/injector/background.py: NM_STATE_ASLEEP = 1 zeroinstall-injector-1.2/zeroinstall/injector/background.py: NM_STATE_CONNECTING = 2 zeroinstall-injector-1.2/zeroinstall/injector/background.py: NM_STATE_CONNECTED = 3 zeroinstall-injector-1.2/zeroinstall/injector/background.py: NM_STATE_DISCONNECTED = 4 zeroinstall-injector-1.2/zeroinstall/injector/background.py: return _NetworkState.NM_STATE_UNKNOWN zeroinstall-injector-1.2/zeroinstall/injector/background.py: if network_state != _NetworkState.NM_STATE_CONNECTED: zeroinstall-injector-1.2/zeroinstall/injector/background.py: if network_state in (_NetworkState.NM_STATE_DISCONNECTED, _NetworkState.NM_STATE_ASLEEP): These checks should be updated to support the new states provided by network-manager 0.9. There is a migration guide at [1]. An example patch can be found at [2]. Cheers, Michael [1] http://projects.gnome.org/NetworkManager/developers/api/09/ref-migrating.html [2] http://git.gnome.org/browse/evolution/commit/?id=8a81ec271ed0ab05b8fdfb5cbf374867b3906352 -- 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]

