Hello! If to select "My plan is not listed" on page "Choose your Billing Plan" and to type own APN, then segfault occurs when "Forward" button is pressed. This patch solves this problem.
-- WBR, Mikhail Efremov
diff --git a/src/utils/mobile-wizard.c b/src/utils/mobile-wizard.c index 0045283..147a926 100644 --- a/src/utils/mobile-wizard.c +++ b/src/utils/mobile-wizard.c @@ -316,7 +316,8 @@ confirm_prepare (MobileWizard *self) gtk_label_set_text (GTK_LABEL (self->confirm_plan), _("Unlisted")); str = g_string_new (NULL); - g_string_append_printf (str, "<span color=\"#999999\">APN: %s</span>", method->gsm_apn); + g_string_append_printf (str, "<span color=\"#999999\">APN: %s</span>", + method ? method->gsm_apn : gtk_entry_get_text (GTK_ENTRY (self->plan_unlisted_entry))); gtk_label_set_markup (GTK_LABEL (self->confirm_apn), str->str); g_string_free (str, TRUE); }
_______________________________________________ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list