[gnome-control-center] network: Set the correct page when using mobile broadband devices



commit 7fcc4666ac8fce4cb0d8599b0b921f75097358e2
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 17 10:21:13 2012 +0100

    network: Set the correct page when using mobile broadband devices

 panels/network/cc-network-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 0579fcc..eae731a 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -1958,7 +1958,7 @@ nm_device_refresh_device_ui (CcNetworkPanel *panel, NetDevice *device)
                         NMDeviceModemCapabilities caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (nm_device));
                         if ((caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) ||
                             (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)) {
-                                gtk_notebook_set_current_page (GTK_NOTEBOOK (widget), 4);
+                                gtk_notebook_set_current_page (GTK_NOTEBOOK (widget), 2);
                                 sub_pane = "mobilebb";
                                 device_refresh_modem_ui (panel, device);
                         } else {



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