[balsa/gtk4: 173/289] toolbar-prefs: Stop using GtkButtonBox




commit 981619051529fabfaeb5d0425ede4f619b745bd8
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Aug 30 12:53:14 2020 -0400

    toolbar-prefs: Stop using GtkButtonBox

 src/toolbar-prefs.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/toolbar-prefs.c b/src/toolbar-prefs.c
index 5a7b9ab42..aa383e328 100644
--- a/src/toolbar-prefs.c
+++ b/src/toolbar-prefs.c
@@ -409,16 +409,15 @@ create_toolbar_page(BalsaToolbarModel * model, GActionMap * map)
     gtk_container_add(GTK_CONTAINER(toolbar_scroll), page->toolbar);
 
     /* Button box */
-    button_box = gtk_button_box_new(GTK_ORIENTATION_HORIZONTAL);
-    gtk_box_set_spacing(GTK_BOX(button_box), 5);
+    button_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5);
     gtk_container_add(GTK_CONTAINER(toolbar_ctlbox), button_box);
 
     /* Standard button */
     page->standard_button =
-        libbalsa_add_mnemonic_button_to_box(_("_Restore toolbar to standard buttons"), button_box, 
GTK_ALIGN_START);
+        libbalsa_add_button_to_box(_("_Restore toolbar to standard buttons"), button_box, GTK_ALIGN_START);
 
     /* Style button */
-    style_button = libbalsa_add_mnemonic_button_to_box(_("Toolbar _style…"), button_box, GTK_ALIGN_END);
+    style_button = libbalsa_add_button_to_box(_("Toolbar _style…"), button_box, GTK_ALIGN_END);
 
     /* Done with preview */
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]