[gnome-settings-daemon] sharing: include wwan connection types as broadband
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] sharing: include wwan connection types as broadband
- Date: Wed, 25 Jun 2014 10:57:51 +0000 (UTC)
commit 5ac12503b049006db5cb9acd14a9cbb8c74b52e6
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed Jun 25 12:15:56 2014 +0200
sharing: include wwan connection types as broadband
For wwan modems directly attached to the computer.
https://bugzilla.gnome.org/show_bug.cgi?id=732218
plugins/sharing/gsd-sharing-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/sharing/gsd-sharing-manager.c b/plugins/sharing/gsd-sharing-manager.c
index fae2601..8457e23 100644
--- a/plugins/sharing/gsd-sharing-manager.c
+++ b/plugins/sharing/gsd-sharing-manager.c
@@ -584,7 +584,9 @@ primary_connection_changed (GObject *gobject,
if (!a_con) {
manager->priv->sharing_status = GSD_SHARING_STATUS_OFFLINE;
- } else if (g_str_equal (manager->priv->carrier_type, "bluetooth")) {
+ } else if (g_str_equal (manager->priv->carrier_type, "bluetooth") ||
+ g_str_equal (manager->priv->carrier_type, "gsm") ||
+ g_str_equal (manager->priv->carrier_type, "cdma")) {
manager->priv->sharing_status = GSD_SHARING_STATUS_DISABLED_MOBILE_BROADBAND;
} else if (g_str_equal (manager->priv->carrier_type, "802-11-wireless")) {
if (connection_is_low_security (manager, manager->priv->current_network))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]