From bb45be24e491b502e881bceb8a44cb2e3a32f85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20No=C3=ABl?= Date: Tue, 21 Jan 2025 11:20:11 +0100 Subject: [PATCH] M!163 - Fullname: Use GtkGrid instead of GtkTable GtkTable is now long deprecated. Closes: https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/163 --- .../e-contact-editor-fullname.c | 2 +- .../gui/contact-editor/fullname.ui | 53 +++++-------------- 2 files changed, 15 insertions(+), 40 deletions(-) diff --git a/src/addressbook/gui/contact-editor/e-contact-editor-fullname.c b/src/addressbook/gui/contact-editor/e-contact-editor-fullname.c index 283305d795..bc72a48174 100644 --- a/src/addressbook/gui/contact-editor/e-contact-editor-fullname.c +++ b/src/addressbook/gui/contact-editor/e-contact-editor-fullname.c @@ -225,7 +225,7 @@ e_contact_editor_fullname_init (EContactEditorFullname *e_contact_editor_fullnam title = gtk_window_get_title (GTK_WINDOW (widget)); gtk_window_set_title (GTK_WINDOW (e_contact_editor_fullname), title); - widget = e_builder_get_widget (builder, "table-checkfullname"); + widget = e_builder_get_widget (builder, "grid-checkfullname"); parent = gtk_widget_get_parent (widget); g_object_ref (widget); gtk_container_remove (GTK_CONTAINER (parent), widget); diff --git a/src/addressbook/gui/contact-editor/fullname.ui b/src/addressbook/gui/contact-editor/fullname.ui index 501a5a16d8..a402cf4792 100644 --- a/src/addressbook/gui/contact-editor/fullname.ui +++ b/src/addressbook/gui/contact-editor/fullname.ui @@ -111,17 +111,12 @@ - + True False 12 - 5 - 3 6 6 - - - True @@ -129,13 +124,12 @@ True False False + True 1 - 3 1 - 2 - + 2 @@ -145,13 +139,12 @@ True False False + True 1 - 3 2 - 3 - + 2 @@ -161,18 +154,14 @@ True False False + True 1 - 3 3 - 4 - + 2 - - - True @@ -184,10 +173,8 @@ 1 + 0 1 - 2 - GTK_FILL - GTK_FILL @@ -201,8 +188,8 @@ 1 - GTK_FILL - GTK_FILL + 0 + 0 @@ -216,10 +203,8 @@ 1 + 0 2 - 3 - GTK_FILL - GTK_FILL @@ -233,10 +218,8 @@ 1 + 0 3 - 4 - GTK_FILL - GTK_FILL @@ -250,10 +233,8 @@ 1 + 0 4 - 5 - GTK_FILL - GTK_FILL @@ -266,9 +247,7 @@ 1 - 2 - GTK_FILL - GTK_FILL + 0 @@ -281,11 +260,7 @@ 1 - 2 4 - 5 - GTK_FILL - GTK_FILL