[balsa/gtk4: 164/286] mime-widget-message: Stop using GtkButtonBox
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 164/286] mime-widget-message: Stop using GtkButtonBox
- Date: Thu, 24 Dec 2020 17:07:28 +0000 (UTC)
commit 576ed216962474805ac317b5d86c12d57e0ef2b2
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]