[balsa] libbalsa-html: Use the whole pane



commit 423fc71d1a1d24848ef61dc15f039e6297d576f1
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Oct 12 08:41:59 2019 -0400

    libbalsa-html: Use the whole pane
    
    * libbalsa/html.c (lbh_web_view_new): set v-expand on the
      web-view to TRUE, so that HTML mail uses the whole pane.

 ChangeLog       | 5 +++++
 libbalsa/html.c | 1 +
 2 files changed, 6 insertions(+)
---
diff --git a/ChangeLog b/ChangeLog
index cd5e29bd0..cf2d55fc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-10-12  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * libbalsa/html.c (lbh_web_view_new): set v-expand on the
+       web-view to TRUE, so that HTML mail uses the whole pane.
+
 2019-10-10  Pawel Salek  <pawsa0 gmail com>
 
        * NEWS, configure.ac, meson.build: release balsa-2.5.8
diff --git a/libbalsa/html.c b/libbalsa/html.c
index 1fc99e6db..5ab99d600 100644
--- a/libbalsa/html.c
+++ b/libbalsa/html.c
@@ -604,6 +604,7 @@ lbh_web_view_new(LibBalsaWebKitInfo *info,
        view = WEBKIT_WEB_VIEW(webkit_web_view_new());
     g_object_set_data_full(G_OBJECT(view), LIBBALSA_HTML_INFO, info, (GDestroyNotify) lbh_webkit_info_free);
     gtk_widget_set_size_request(GTK_WIDGET(view), width, height);
+    gtk_widget_set_vexpand(GTK_WIDGET(view), TRUE);
 
        settings = webkit_web_view_get_settings(view);
     webkit_settings_set_enable_plugins(settings, FALSE);


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