Commit b0e6526c authored by Ondrej Holy's avatar Ondrej Holy
Browse files

user-accounts: do not set the language twice

The act_user_set_language function is called twice as a result of
commit 96c0c0a8, which is not necessary.
parent c08177c3
......@@ -1115,8 +1115,6 @@ language_response (GtkDialog *dialog,
show_restart_notification (d, lang);
act_user_set_language (user, lang);
button = get_widget (d, "account-language-button");
name = gnome_get_language_from_locale (lang, NULL);
um_editable_button_set_text (UM_EDITABLE_BUTTON (button), name);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment