[balsa/gtk4: 161/246] mime-widget-message: Stop using GtkButtonBox
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 161/246] mime-widget-message: Stop using GtkButtonBox
- Date: Mon, 2 Nov 2020 20:11:28 +0000 (UTC)
commit 788a119b7d05041a5811aa1936160e2b6c9c20ab
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Aug 28 18:42:09 2020 -0400
mime-widget-message: Stop using GtkButtonBox
src/balsa-mime-widget-message.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/balsa-mime-widget-message.c b/src/balsa-mime-widget-message.c
index 34e464660..16389be8d 100644
--- a/src/balsa-mime-widget-message.c
+++ b/src/balsa-mime-widget-message.c
@@ -510,6 +510,7 @@ bm_header_widget_new(BalsaMessage * bm, GtkWidget * const * buttons)
GtkWidget *info_bar_widget;
GtkInfoBar *info_bar;
GtkWidget *content_area;
+ GtkWidget *vbox;
GtkWidget *action_area;
GtkWidget *widget;
GtkEventController *key_controller;
@@ -536,10 +537,8 @@ bm_header_widget_new(BalsaMessage * bm, GtkWidget * const * buttons)
gtk_widget_set_vexpand(vbox, TRUE);
gtk_widget_set_valign(vbox, GTK_ALIGN_START);
action_area = gtk_info_bar_get_action_area(info_bar);
- gtk_orientable_set_orientation(GTK_ORIENTABLE(action_area),
- GTK_ORIENTATION_VERTICAL);
- gtk_button_box_set_layout(GTK_BUTTON_BOX(action_area),
- GTK_BUTTONBOX_START);
+ gtk_container_add(GTK_CONTAINER(action_area), vbox);
+
if (balsa_message_get_face_box(bm) == NULL) {
GtkWidget *face_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]