[gnumeric] Resurrect toolbars



commit f64d7b91c8ee3670b08f3cd73d191ebab004cd58
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Aug 2 17:24:19 2011 -0600

    Resurrect toolbars
    
    2011-08-02 Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* src/wbc-gtk.c (cb_add_menus_toolbars): the box is now a GtkHandleBox

 ChangeLog     |    4 ++++
 src/wbc-gtk.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e04db3b..f81208e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-08-02 Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* src/wbc-gtk.c (cb_add_menus_toolbars): the box is now a GtkHandleBox
+
+2011-08-02 Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* src/wbc-gtk.c (wbcg_gnm_cmd_context_init): adjust for changes in
 	structure
 	* src/io-context-gtk.c (icg_gnm_cmd_context_init): ditto
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index e3def71..dedf8bf 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -4258,7 +4258,7 @@ cb_add_menus_toolbars (G_GNUC_UNUSED GtkUIManager *ui,
 				  G_CALLBACK (cb_handlebox_button_press),
 				  gtk);
 
-		gtk_box_pack_start (GTK_BOX (box), w, TRUE, TRUE, 0);
+		gtk_container_add (GTK_CONTAINER (box), w);
 		gtk_widget_show_all (box);
 		if (!visible)
 			gtk_widget_hide (box);



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