sharing: Set label for checkbox properly
The Screen Sharing dialog used to have a switch, which was changed to a checkbox in8b68961431
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 commitcde8f69ad6
)
This commit is contained in:
parent
b1efaf0578
commit
105b60d2a6
1 changed files with 6 additions and 30 deletions
|
@ -561,38 +561,14 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">12</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box6">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="spacing">6</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="remote_control_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="label" translatable="yes">_Allow connections to control the screen</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">remote_control_checkbutton</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="remote_control_checkbutton">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="draw_indicator">True</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="label" translatable="yes">_Allow connections to control the screen</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue