[network-manager-applet/nma-0-9-10] applet: fix nm-applet tooltip when a VPN connection is active (bgo #737585)
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/nma-0-9-10] applet: fix nm-applet tooltip when a VPN connection is active (bgo #737585)
- Date: Mon, 8 Dec 2014 18:57:26 +0000 (UTC)
commit 35bd9bbdc75d27a67f8b947610dcce5af3354447
Author: Jiří Klimeš <jklimes redhat com>
Date: Tue Nov 25 09:38:06 2014 +0100
applet: fix nm-applet tooltip when a VPN connection is active (bgo #737585)
Active VPN connections contain a device of a base connection, but we are
interested in the base active connection itself.
https://bugzilla.gnome.org/show_bug.cgi?id=737585
(cherry picked from commit 64d744e99e7cf55e486dd51ed083d42e9e1c9c49)
src/applet.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index db839fd..d264946 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1416,6 +1416,10 @@ applet_find_active_connection_for_device (NMDevice *device,
devices = nm_active_connection_get_devices (active);
connection_path = nm_active_connection_get_connection (active);
+ /* Skip VPN connections */
+ if (nm_active_connection_get_vpn (active))
+ continue;
+
if (!devices || !connection_path)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]