[balsa/stop-using-gtkbox-child-properties: 12/23] Various: Stop using GtkBox child properties
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/stop-using-gtkbox-child-properties: 12/23] Various: Stop using GtkBox child properties
- Date: Thu, 24 Sep 2020 19:49:42 +0000 (UTC)
commit 29fe069c1f5ff4368e9e6b158ee0fd49317be4f3
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Jun 9 14:31:33 2020 -0400
Various: Stop using GtkBox child properties
Stop using GtkBox padding, fill and expand child properties
* src/message-window.c:
ChangeLog | 6 ++++++
src/message-window.c | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index ecfa7d6d8..dc5d2547a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -170,6 +170,12 @@
* libbalsa/libbalsa-gpgme-cb.c (row_activated_cb),
(lb_gpgme_select_key):
+2020-06-09 Peter Bloomfield <pbloomfield bellsouth net>
+
+ Various: Stop using GtkBox padding, fill and expand child properties
+
+ * src/message-window.c:
+
2020-06-09 Peter Bloomfield <pbloomfield bellsouth net>
Various: Stop using GtkBox padding, fill and expand child properties
diff --git a/src/message-window.c b/src/message-window.c
index 933774c3c..78f77af2d 100644
--- a/src/message-window.c
+++ b/src/message-window.c
@@ -899,7 +899,9 @@ message_window_new(LibBalsaMailbox * mailbox, guint msgno)
mw_disable_trash(mw);
mw->bmessage = balsa_message_new();
- gtk_box_pack_start(GTK_BOX(vbox), mw->bmessage, TRUE, TRUE, 0);
+ gtk_widget_set_vexpand(mw->bmessage, TRUE);
+ gtk_widget_set_valign(mw->bmessage, GTK_ALIGN_FILL);
+ gtk_container_add(GTK_CONTAINER(vbox), mw->bmessage);
gtk_widget_show(vbox);
g_signal_connect(mw->bmessage, "select-part",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]