diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2021-10-25 16:22:14 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2021-10-25 16:23:07 +0200 |
commit | 81f722138c0dadf5f7f7c6020f6d6680c7435dc7 (patch) | |
tree | dbf201a1f9060a2d45db75f45892e5f5b409d643 | |
parent | 1895d0290d51074227e4f31635e4dfec69a560d6 (diff) | |
download | network-manager-applet-81f722138c0dadf5f7f7c6020f6d6680c7435dc7.tar.gz |
page-vpn: make sure the VPN page margins are consistent
Currently most VPN plugin widgets set their margins, but they shouldn't.
Make sure we set them, so they can be fixed.
-rw-r--r-- | src/connection-editor/page-vpn.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/connection-editor/page-vpn.c b/src/connection-editor/page-vpn.c index 5b35172f..0eab8b62 100644 --- a/src/connection-editor/page-vpn.c +++ b/src/connection-editor/page-vpn.c @@ -60,6 +60,12 @@ finish_setup (CEPageVpn *self, gpointer user_data) g_warning ("Could not load VPN user interface for service '%s'.", priv->service_type); return; } + + gtk_widget_set_margin_top (parent->page, 12); + gtk_widget_set_margin_bottom (parent->page, 12); + gtk_widget_set_margin_left (parent->page, 12); + gtk_widget_set_margin_right (parent->page, 12); + g_object_ref_sink (parent->page); gtk_widget_show_all (parent->page); } |