https://bugs.gpodder.org/show_bug.cgi?id=107
--- Comment #10 from Eric Le Lay <[email protected]> 2012-10-15 22:04:22 BST --- (En réponse au commentaire 9) > Implemented now, feedback appreciated: http://gpodder.org/commit/e3f53600 fine, but can we get rid of the annoying popup on automatic refresh when offline is detected ? By the way, something along def osx_get_active_interfaces(): """Get active network interfaces using 'ifconfig' Returns a list of active network interfaces or an empty list if the device is offline. The loopback interface is not included. """ stdout = subprocess.check_output(['ifconfig']) itfs = re.split('\n(?!\t)',stdout,re.MULTILINE) active = [] for i in itfs: b=re.match('(\\w+):.*status: active$', i, re.MULTILINE | re.DOTALL) if b is not None: active.append(b.group(1)) return active should do the trick for OSX online detection -- Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ gPodder-Bugs mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-bugs
