[epiphany/gnome-3-32] Fix languages button sensitive at first sight



commit 44c9eab547134f08a9da1c1631c258f3d768f5d2
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Fri May 3 14:13:20 2019 +0000

    Fix languages button sensitive at first sight
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/279
    
    
    (cherry picked from commit 54cd10b80129aa4cf5c421b29eb574a7e35f061e)

 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 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


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