[network-manager-applet] mobile: fix inital mobile broadband wizard page display
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] mobile: fix inital mobile broadband wizard page display
- Date: Fri, 25 Feb 2011 18:37:41 +0000 (UTC)
commit 29bc67677f573ee32c8a4cc0c4b4b390e1c3855c
Author: Dan Williams <dcbw redhat com>
Date: Fri Feb 25 12:38:05 2011 -0600
mobile: fix inital mobile broadband wizard page display
Only show it when we're not given a device type, like in the
connection editor.
src/utils/mobile-wizard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/utils/mobile-wizard.c b/src/utils/mobile-wizard.c
index 381189a..30206f1 100644
--- a/src/utils/mobile-wizard.c
+++ b/src/utils/mobile-wizard.c
@@ -1550,8 +1550,8 @@ mobile_wizard_new (GtkWindow *parent,
self->method_type = NMN_MOBILE_ACCESS_METHOD_TYPE_GSM;
else if (modem_caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)
self->method_type = NMN_MOBILE_ACCESS_METHOD_TYPE_CDMA;
- else
- self->initial_method_type = TRUE;
+ if (self->method_type)
+ self->initial_method_type = TRUE; /* Skip device selection */
self->assistant = gtk_assistant_new ();
gtk_assistant_set_forward_page_func (GTK_ASSISTANT (self->assistant),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]