[epiphany] Fix languages button sensitive at first sight



commit 54cd10b80129aa4cf5c421b29eb574a7e35f061e
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Fri May 3 16:13:20 2019 +0200

    Fix languages button sensitive at first sight
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/279

 src/prefs-dialog.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index f92651e05..f7d3ea37e 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1612,7 +1612,6 @@ create_language_section (PrefsDialog *dialog)
   }
   g_object_unref (store);
 
-  language_editor_update_buttons (dialog);
   g_strfreev (list);
 
   /* Lockdown if key is not writable */
@@ -1631,6 +1630,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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]