I#1175 - composer-attribution-language doesn't take effect for C locale

Covers three things:
* use '.UTF-8' locale suffix instead of '.utf8'
* do not add the suffix for the C locale
* change in Composer Preferences to 'Same as user interface' did not unset the value in GSettings

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1175
This commit is contained in:
Milan Crha
2020-10-22 10:01:15 +02:00
parent 21f573acf1
commit a082d77df3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1337,7 +1337,7 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
G_SETTINGS_BIND_DEFAULT);
widget = e_builder_get_widget (prefs->builder, "comboboxForwardReplyAttribLanguage");
gtk_combo_box_text_append (GTK_COMBO_BOX_TEXT (widget), NULL, _("Same as user interface"));
gtk_combo_box_text_append (GTK_COMBO_BOX_TEXT (widget), "", _("Same as user interface"));
em_utils_add_installed_languages (GTK_COMBO_BOX_TEXT (widget));
g_settings_bind (