summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2021-03-03 16:40:54 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2021-03-08 18:56:43 +0000
commit46dd424ff592ee5b42c73576e0be7eab23f2dffb (patch)
tree2f9e8e3ccc7e3be7785e30b11128a11987e1f24b
parent4f8c9893efebb89dd889dc74636481d9270ddb82 (diff)
downloadepiphany-mcatanzaro/#1456.tar.gz
Fix language configurationmcatanzaro/#1456
Since 9cfe2dde682a7feaa430629d2d23f177a265777b, any attempt to configure the language setting results in the setting being wiped out. Problem is nothing ever calls ephy_lang_row_set_code() so none of the language rows are actually associated with the language they claim to be. Oops. Fixes #1456
-rw-r--r--src/preferences/prefs-general-page.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preferences/prefs-general-page.c b/src/preferences/prefs-general-page.c
index 4d8af93dd..b17241edc 100644
--- a/src/preferences/prefs-general-page.c
+++ b/src/preferences/prefs-general-page.c
@@ -438,6 +438,7 @@ language_editor_add (PrefsGeneralPage *general_page,
row = ephy_lang_row_new ();
+ ephy_lang_row_set_code (EPHY_LANG_ROW (row), code);
ephy_lang_row_set_title (EPHY_LANG_ROW (row), desc);
gtk_style_context_add_class (gtk_widget_get_style_context (row), "row");