[evolution/gnome-3-24] Bug 780045 - MBOX preview not shown in --import dialog



commit c566967a620aa53a09b64075657d3815f9ca1c31
Author: Milan Crha <mcrha redhat com>
Date:   Mon Mar 20 18:20:33 2017 +0100

    Bug 780045 - MBOX preview not shown in --import dialog

 src/e-util/e-web-view-preview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/e-util/e-web-view-preview.c b/src/e-util/e-web-view-preview.c
index 9bac835..3e8833d 100644
--- a/src/e-util/e-web-view-preview.c
+++ b/src/e-util/e-web-view-preview.c
@@ -229,7 +229,7 @@ e_web_view_preview_set_preview (EWebViewPreview *preview,
                gtk_widget_destroy (old_child);
        }
 
-       gtk_container_add (GTK_CONTAINER (gtk_paned_get_child2 (GTK_PANED (preview))), preview_widget);
+       gtk_paned_pack2 (GTK_PANED (preview), preview_widget, TRUE, TRUE);
 }
 
 void


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