[epiphany] Reset the language setting when all languages are removed from the UI
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Reset the language setting when all languages are removed from the UI
- Date: Fri, 3 Jan 2014 19:26:41 +0000 (UTC)
commit 4495e1bda293e027d0616b7d4856a5ca3088d67a
Author: William Jon McCann <william jon mccann gmail com>
Date: Sat Dec 21 13:54:38 2013 -0500
Reset the language setting when all languages are removed from the UI
https://bugzilla.gnome.org/show_bug.cgi?id=720896
src/prefs-dialog.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 105d781..73431e6 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -420,6 +420,10 @@ language_editor_update_pref (PrefsDialog *pd)
g_settings_set (EPHY_SETTINGS_WEB,
EPHY_PREFS_WEB_LANGUAGE,
"as", &builder);
+ } else {
+ g_settings_set (EPHY_SETTINGS_WEB,
+ EPHY_PREFS_WEB_LANGUAGE,
+ "as", NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]