[epiphany/mcatanzaro/#1456: 9/9] Fix language configuration
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1456: 9/9] Fix language configuration
- Date: Mon, 8 Mar 2021 18:56:44 +0000 (UTC)
commit 46dd424ff592ee5b42c73576e0be7eab23f2dffb
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Mar 3 16:40:54 2021 -0600
Fix language configuration
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
src/preferences/prefs-general-page.c | 1 +
1 file changed, 1 insertion(+)
---
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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]