[epiphany/mcatanzaro/#1456] Fix language configuration
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1456] Fix language configuration
- Date: Wed, 3 Mar 2021 22:42:34 +0000 (UTC)
commit a418411d9e34ab728f12796a44954308502c3cc3
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]