diff options
author | Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> | 2016-05-20 11:07:09 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2016-05-20 11:07:13 -0500 |
commit | 73b9a58286bef20741fb66f3bebe3399b3da29e6 (patch) | |
tree | e146b1ac113e6a182b0392c606a23dd7ff10c719 | |
parent | 906f95357a79d07f03020524f0a2144a89445b87 (diff) | |
download | network-manager-applet-73b9a58286bef20741fb66f3bebe3399b3da29e6.tar.gz |
apple: set out_icon_name for WWAN connections for indicator modes
Otherwise one would see WWAN use the last icon applied in the applet
since indicators cannot use pixmaps for the main indicator icon.
-rw-r--r-- | src/mobile-helpers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c index 406e3e00..8969fd3b 100644 --- a/src/mobile-helpers.c +++ b/src/mobile-helpers.c @@ -613,6 +613,9 @@ mobile_helper_get_icon (NMDevice *device, mb_state, mb_tech, applet); + *out_icon_name = mobile_helper_get_quality_icon_name (quality_valid ? + quality : 0); + if ((mb_state != MB_STATE_UNKNOWN) && quality_valid) { gboolean roaming = (mb_state == MB_STATE_ROAMING); |