[network-manager-applet] apple: set out_icon_name for WWAN connections for indicator modes
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] apple: set out_icon_name for WWAN connections for indicator modes
- Date: Fri, 20 May 2016 16:24:29 +0000 (UTC)
commit 73b9a58286bef20741fb66f3bebe3399b3da29e6
Author: Mathieu Trudel-Lapierre <mathieu trudel-lapierre canonical com>
Date: Fri May 20 11:07:09 2016 -0500
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.
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 406e3e0..8969fd3 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]