Skip to content

network: Use a placeholder widget in the VPN list box

Using a GtkStack isn't necessary to display the "Not set up" row. Instead, use a GtkListBox placeholder widget in the main VPN list box.

This improves consistency™ with the placeholders from "Privacy > Location/Camera/Microphone" when there are no apps; same thing in "Search > Search Locations > Custom Locations" when no custom locations were added.

image

https://docs.gtk.org/gtk4/class.ListBox.html#gtklistbox-as-gtkbuildable

Edited by 𝅳Automeris naranja

Merge request reports