diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 0375e546e6..4fa0250838 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -2112,17 +2112,14 @@ comp_editor_init (CompEditor *editor) GTK_STYLE_CLASS_PRIMARY_TOOLBAR); widget = e_attachment_paned_new (); + e_attachment_paned_set_resize_toplevel ( + E_ATTACHMENT_PANED (widget), TRUE); gtk_container_set_border_width (GTK_CONTAINER (widget), 6); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); priv->attachment_view = g_object_ref (widget); gtk_widget_show (widget); if (express_mode) { - e_attachment_paned_set_expanded ( - E_ATTACHMENT_PANED (widget), TRUE); - e_attachment_paned_set_expanded ( - E_ATTACHMENT_PANED (widget), FALSE); - widget = e_attachment_paned_get_view_combo ( E_ATTACHMENT_PANED (widget)); gtk_widget_hide (widget); |