[network-manager-applet] mobile-wizard: fix sensitizing providers' list (bgo #669019)



commit e40fe550712d741889574eb714711f925cb0057e
Author: JiÅÃ KlimeÅ <jklimes redhat com>
Date:   Wed Feb 15 15:51:52 2012 +0100

    mobile-wizard: fix sensitizing providers' list (bgo #669019)
    
    When "My country is not listed" option was selected and user continued
    in the wizard, the providers list was correctly grayed. However, when
    user went back and selected a country, the list (and corresponding radio
    button) never went to active state again.

 src/libnm-gtk/nm-mobile-wizard.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libnm-gtk/nm-mobile-wizard.c b/src/libnm-gtk/nm-mobile-wizard.c
index 9154ffb..c48caa0 100644
--- a/src/libnm-gtk/nm-mobile-wizard.c
+++ b/src/libnm-gtk/nm-mobile-wizard.c
@@ -850,6 +850,7 @@ providers_prepare (NMAMobileWizard *self)
 		gtk_widget_set_sensitive (GTK_WIDGET (self->providers_view_radio), FALSE);
 		goto done;
 	}
+	gtk_widget_set_sensitive (GTK_WIDGET (self->providers_view_radio), TRUE);
 
 	providers = g_hash_table_lookup (self->providers, country);
 	g_free (country);



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