From 105b60d2a6fc72d74ea6a6e7248f0f5e16e73e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= Date: Mon, 30 Mar 2020 15:37:03 +0000 Subject: [PATCH] sharing: Set label for checkbox properly The Screen Sharing dialog used to have a switch, which was changed to a checkbox in 8b689614315089781e604b8e76521c1e926bbdac However, unlike switches, checkboxes are expected to have clicable labels Let's set the label properly, instead of doing it the switch way. Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/565 (cherry picked from commit cde8f69ad69c0759f2ddba1ce321c8e4d6cd794b) --- panels/sharing/cc-sharing-panel.ui | 36 +++++------------------------- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/panels/sharing/cc-sharing-panel.ui b/panels/sharing/cc-sharing-panel.ui index d9e0d08b2..eb13c8fee 100644 --- a/panels/sharing/cc-sharing-panel.ui +++ b/panels/sharing/cc-sharing-panel.ui @@ -562,37 +562,13 @@ vertical 12 - + True - False - 6 - - - True - False - start - True - _Allow connections to control the screen - True - remote_control_checkbutton - - - False - True - 1 - - - - - True - True - - - False - True - 0 - - + True + False + True + True + _Allow connections to control the screen False