GNOME Bugzilla – Bug 746045
Update Python NM example
Last modified: 2015-03-12 09:42:33 UTC
Current Python NM example has a very crude connection state output and the global NM connectivity is not used in them either. I'll add the patch for this in a bit
Created attachment 299123 [details] [review] proposed_patch
Thanks, merged as http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=0e1fe1fe4ef76cfc7fc31a6c75b4ac368dcd23d8 I slightly modified the patch: I reworded the subject line of the commit and changed: - print "'%s' is %s" % (con_name, connectivity_states[state].lower()) + print "Connection '%s' is %s" % (con_name, connectivity_states[state].lower())