summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2016-05-20 11:07:09 -0500
committerDan Williams <dcbw@redhat.com>2016-05-20 11:07:13 -0500
commit73b9a58286bef20741fb66f3bebe3399b3da29e6 (patch)
treee146b1ac113e6a182b0392c606a23dd7ff10c719
parent906f95357a79d07f03020524f0a2144a89445b87 (diff)
downloadnetwork-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.c3
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);