gnome-control-center/panels/sharing/cc-sharing-networks.ui
Automeris naranja 7009df80d0 sharing: Fix the networks section from the File/Media Sharing dialogs
- Remove the "Networks" title from CcSharingNetworks
and only use the titles from the AdwPreferencesGroups

- Remove the margins from CcSharingNetworks,
since AdwPreferencesGroup already has margins

- Remove unused `spacing` properties

- Replace the Media Sharing GtkGrid with a GtkBox,
like in the File Sharing dialog, and separate the
networks and folders section into their own
AdwPreferencesGroups

- Remove an unnecessary GtkListBox. It was added[1]
in order to make the "Require Password" and "Password"
rows to have the boxed-list style. Since the dialogs
from Sharing panel started to use AdwPreferencesPage/Group[2],
this GtkListBox is no longer necessary.

[1] 9a15a48d
[2] 45a5a1e0

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2818
2024-02-12 09:07:30 +00:00

15 lines
449 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcSharingNetworks" parent="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="hexpand">True</property>
<property name="selection-mode">none</property>
<style>
<class name="boxed-list"/>
</style>
</object>
</child>
</template>
</interface>