All lines are selected in language chooser
The !162 (merged) caused that language chooser have all lines selected if
cc_language_chooser_set_language() is not called before use.
This happens in Users panel for users without language set (just for first time):
- Create new user, or choose some without language set
- Click to language button
I can fix it in Users panels by the following, but I think that it should be fixed in language chooser directly.
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c index 4ae3dc0bd..8d3c403e5 100644 --- a/panels/user-accounts/um-user-panel.c +++ b/panels/user-accounts/um-user-panel.c @@ -1046,4 +1046,3 @@ change_language (GtkButton *button, - if (current_language && *current_language != '\0') - cc_language_chooser_set_language (self->language_chooser, current_language); + cc_language_chooser_set_language (self->language_chooser, current_language); gtk_window_present (GTK_WINDOW (self->language_chooser));