[gnome-control-center] network: Increase the amount of debugging for mobile-bb



commit f0b88883d028f43deb09d21dcec95920d4f64b64
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jun 28 13:42:44 2012 +0100

    network: Increase the amount of debugging for mobile-bb

 panels/network/cc-network-panel.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index b7a8d8c..a68f29c 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -2073,7 +2073,8 @@ nm_device_refresh_device_ui (CcNetworkPanel *panel, NetDevice *device)
         nm_device = net_device_get_nm_device (device);
         type = nm_device_get_device_type (nm_device);
         is_hotspot = device_is_hotspot (panel, nm_device);
-        g_debug ("device %s type %i", nm_device_get_udi (nm_device), type);
+        g_debug ("device %s type %i (is-hotspot: %i)",
+                 nm_device_get_udi (nm_device), type, is_hotspot);
 
         widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "notebook_types"));
 
@@ -2099,6 +2100,8 @@ nm_device_refresh_device_ui (CcNetworkPanel *panel, NetDevice *device)
                                 gtk_notebook_set_current_page (GTK_NOTEBOOK (widget), 4);
                                 sub_pane = "mobilebb";
                                 device_refresh_modem_ui (panel, device);
+                        } else {
+                                g_warning ("unknown modem capabilities: %i", caps);
                         }
                 }
                 break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]