diff options
author | rbuj <[email protected]> | 2021-01-08 10:09:53 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-01-28 21:17:38 +0100 |
commit | 35ab6f3742c23ee7a1e8f347cd4bc2ca648ddcb3 (patch) | |
tree | 928211bba03fd40e01cd27f77db169cf2860c193 | |
parent | 9d5b6bcc3e7873d7b76842e7a0bbaca047d11901 (diff) | |
download | mate-applets-35ab6f3742c23ee7a1e8f347cd4bc2ca648ddcb3.tar.bz2 mate-applets-35ab6f3742c23ee7a1e8f347cd4bc2ca648ddcb3.tar.xz |
netspeed: sort available devices
-rw-r--r-- | netspeed/src/backend.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netspeed/src/backend.c b/netspeed/src/backend.c index 1daca40f..2888f876 100644 --- a/netspeed/src/backend.c +++ b/netspeed/src/backend.c @@ -105,6 +105,7 @@ get_available_devices (void) for (dev = devices; *dev; ++dev) { device_glist = g_list_prepend (device_glist, g_strdup (*dev)); } + device_glist = g_list_sort (device_glist, (GCompareFunc) g_strcmp0); g_strfreev (devices); |