diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-12 23:43:47 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-23 17:33:19 +0100 |
commit | ec0f5b0b29e1776ae0ec4004a39278df8d4db356 (patch) | |
tree | d1964de8db2c53919a55a1288f6a780c8a333a3d | |
parent | 0c8f4451b7a786ccb430360e66ff2337c930b246 (diff) | |
download | gnome-control-center-ec0f5b0b29e1776ae0ec4004a39278df8d4db356.tar.gz |
network: load IMEI and Operator Name also in LTE-only modems
Also bump NetworkManager required version to 0.8.995, which is when
'NM_DEVICE_MODEM_CAPABILITY_LTE' was introduced.
https://bugzilla.gnome.org/show_bug.cgi?id=688212
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | panels/network/net-device-mobile.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index d07054ba0..77e66fe20 100644 --- a/configure.ac +++ b/configure.ac @@ -90,7 +90,7 @@ CANBERRA_REQUIRED_VERSION=0.13 GDKPIXBUF_REQUIRED_VERSION=2.23.0 POLKIT_REQUIRED_VERSION=0.103 GSD_REQUIRED_VERSION=3.6.0 -NETWORK_MANAGER_REQUIRED_VERSION=0.8.992 +NETWORK_MANAGER_REQUIRED_VERSION=0.8.995 LIBNOTIFY_REQUIRED_VERSION=0.7.3 GNOME_DESKTOP_REQUIRED_VERSION=3.5.91 SCHEMAS_REQUIRED_VERSION=3.5.91 diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c index 4fba134e1..d24de4eb3 100644 --- a/panels/network/net-device-mobile.c +++ b/panels/network/net-device-mobile.c @@ -292,7 +292,8 @@ nm_device_mobile_refresh_ui (NetDeviceMobile *device_mobile) caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (nm_device)); if ((caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) || - (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)) { + (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO) || + (caps & NM_DEVICE_MODEM_CAPABILITY_LTE)) { device_mobile_refresh_operator_name (device_mobile); device_mobile_refresh_equipment_id (device_mobile); } @@ -531,7 +532,8 @@ net_device_mobile_constructed (GObject *object) /* Only load proxies if we have broadband modems */ caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (device)); if ((caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) || - (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)) { + (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO) || + (caps & NM_DEVICE_MODEM_CAPABILITY_LTE)) { g_dbus_proxy_new_for_bus (G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE, NULL, |