summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2019-05-03 14:13:20 +0000
committerMichael Catanzaro <mcatanzaro@posteo.net>2019-05-05 01:09:50 +0000
commit44c9eab547134f08a9da1c1631c258f3d768f5d2 (patch)
tree4d8ef9c877f8f353f5c24ebd91e53969d1efc65b
parent5e8f11f20c73378d12be52ccc73072d0b564ec8e (diff)
downloadepiphany-44c9eab547134f08a9da1c1631c258f3d768f5d2.tar.gz
Fix languages button sensitive at first sight
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/279 (cherry picked from commit 54cd10b80129aa4cf5c421b29eb574a7e35f061e)
-rw-r--r--src/prefs-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index db1eaa87b..1139fb831 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1608,7 +1608,6 @@ create_language_section (PrefsDialog *dialog)
}
g_object_unref (store);
- language_editor_update_buttons (dialog);
g_strfreev (list);
/* Lockdown if key is not writable */
@@ -1627,6 +1626,8 @@ create_language_section (PrefsDialog *dialog)
g_settings_bind_writable (EPHY_SETTINGS_WEB,
EPHY_PREFS_WEB_LANGUAGE,
dialog->lang_treeview, "sensitive", FALSE);
+
+ language_editor_update_buttons (dialog);
}
static void