From 1093f2993f290b6f34668a105df046686d793d8c Mon Sep 17 00:00:00 2001 From: Automeris naranja Date: Sat, 25 Nov 2023 00:54:07 -0300 Subject: [PATCH 1/2] connection-editor: Set .pill style to forget_button --- panels/network/connection-editor/details-page.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/network/connection-editor/details-page.ui b/panels/network/connection-editor/details-page.ui index c370284860..e8cc3f0583 100644 --- a/panels/network/connection-editor/details-page.ui +++ b/panels/network/connection-editor/details-page.ui @@ -437,7 +437,7 @@ True True True - end + center end 0 @@ -447,6 +447,7 @@ -- GitLab From 52a5afcc2887b45ab7aad421ac26a99f3479b1bd Mon Sep 17 00:00:00 2001 From: Automeris naranja Date: Sat, 25 Nov 2023 00:56:16 -0300 Subject: [PATCH 2/2] ce-page-details: Add ellipsis to labels of forget_button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Use an ellipsis (…) at the end of a label if further input or confirmation is required from the user before the action can be carried out". https://developer.gnome.org/hig/guidelines/writing-style.html --- panels/network/connection-editor/ce-page-details.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panels/network/connection-editor/ce-page-details.c b/panels/network/connection-editor/ce-page-details.c index d5121aa291..e226c5a551 100644 --- a/panels/network/connection-editor/ce-page-details.c +++ b/panels/network/connection-editor/ce-page-details.c @@ -509,14 +509,14 @@ connect_details_page (CEPageDetails *self) g_signal_connect_object (self->forget_button, "clicked", G_CALLBACK (forget_cb), self, G_CONNECT_SWAPPED); if (g_str_equal (type, NM_SETTING_WIRELESS_SETTING_NAME)) - gtk_button_set_label (self->forget_button, _("Forget Connection")); + gtk_button_set_label (self->forget_button, _("Forget Connection…")); else if (g_str_equal (type, NM_SETTING_WIRED_SETTING_NAME)) - gtk_button_set_label (self->forget_button, _("Remove Connection Profile")); + gtk_button_set_label (self->forget_button, _("Remove Connection Profile…")); else if (g_str_equal (type, NM_SETTING_BLUETOOTH_SETTING_NAME)) - gtk_button_set_label (self->forget_button, _("Remove Connection")); + gtk_button_set_label (self->forget_button, _("Remove Connection…")); else if (g_str_equal (type, NM_SETTING_VPN_SETTING_NAME) || g_str_equal (type, NM_SETTING_WIREGUARD_SETTING_NAME)) - gtk_button_set_label (self->forget_button, _("Remove VPN")); + gtk_button_set_label (self->forget_button, _("Remove VPN…")); else gtk_widget_set_visible (GTK_WIDGET (self->forget_button), FALSE); } else { -- GitLab