[gnome-control-center] common: Fix language chooser showing all languages as checked



commit 700b857ab8f19114f7114de03a00fc9896956f3a
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Oct 26 16:59:04 2018 +1300

    common: Fix language chooser showing all languages as checked
    
    If the language chooser was created and a language not set all the
    checks are shown beside each entry. Solved by hiding these checks
    by default.
    
    https://gitlab.gnome.org/GNOME/gnome-control-center/issues/250

 panels/common/cc-language-chooser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/common/cc-language-chooser.c b/panels/common/cc-language-chooser.c
index 2616575be..95956471d 100644
--- a/panels/common/cc-language-chooser.c
+++ b/panels/common/cc-language-chooser.c
@@ -90,7 +90,7 @@ language_widget_new (const gchar *locale_id,
         gtk_box_pack_start (GTK_BOX (box), language_label, FALSE, TRUE, 0);
 
         check = gtk_image_new ();
-        gtk_widget_show (check);
+        gtk_widget_hide (check);
         gtk_image_set_from_icon_name (GTK_IMAGE (check), "object-select-symbolic", GTK_ICON_SIZE_MENU);
         g_object_set (check, "icon-size", GTK_ICON_SIZE_MENU, NULL);
         gtk_box_pack_start (GTK_BOX (box), check, FALSE, FALSE, 0);


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