[balsa/wip/gtk4] main-window: Put the bottom bar at the bottom



commit 0664400c7e1ae2fb9fd4cfb90a1404acc2fe7e6b
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Feb 12 19:13:00 2019 -0500

    main-window: Put the bottom bar at the bottom
    
    Reorder priv->bottom_bar below priv->content (the GtkPaned panels). We
    must do that each time the paned panels are set up, because they are
    container-added to the main vertical box, necessarily now below all the
    other components.

 src/main-window.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/main-window.c b/src/main-window.c
index d35f461f5..297496c27 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -609,6 +609,8 @@ bw_set_panes(BalsaWindow * window)
     }
     if ( (bindex=balsa_window_find_current_index(window)) != NULL)
         balsa_index_set_width_preference(BALSA_INDEX(bindex), width_preference);
+
+    gtk_box_reorder_child_after(GTK_BOX(priv->vbox), priv->bottom_bar, priv->content);
 }
 
 /* Create the toolbar model for the main window's toolbar.


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