From 429bbe0564f8c129717635e8979fa6fa761a0f1c Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 23 Feb 2021 10:24:49 -0300 Subject: [PATCH] common: Add missing tag to CcLanguageChooser The UI file is not wrapping the tag with , which fails to parse and blanks the dialog. Add the missing tag around the "More" row object. Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1270 common: Rename 'check' to 'check_image' The C code tries to fetch and use 'check_image', but the UI definition calls it 'check', which throws a few warnings. Renaming it in the UI file is easier than in the C file, so I went with the former. --- panels/common/cc-language-chooser.ui | 47 +++++++++++++++------------- panels/common/cc-language-row.ui | 2 +- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/panels/common/cc-language-chooser.ui b/panels/common/cc-language-chooser.ui index 5449fb3dd..885eb437a 100644 --- a/panels/common/cc-language-chooser.ui +++ b/panels/common/cc-language-chooser.ui @@ -70,27 +70,32 @@ False - - - - True - 10 - More… - - - False - view-more-symbolic - 1 - 10 - 10 - - - - - - + + + + + + + True + 10 + More… + + + False + view-more-symbolic + 1 + 10 + 10 + + + + + + + + diff --git a/panels/common/cc-language-row.ui b/panels/common/cc-language-row.ui index 3f2d67b68..957df54ab 100644 --- a/panels/common/cc-language-row.ui +++ b/panels/common/cc-language-row.ui @@ -18,7 +18,7 @@ - + False object-select-symbolic 1 -- 2.29.2