Commit a6331f5b authored by Morten Welinder's avatar Morten Welinder

GUI: Fix toolbar positioning code.

parent 18cc50f7
2011-02-24 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (cb_set_toolbar_position): Only actually set
toolbar position when the item is active. (We now get extra signals.)
2011-02-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/undo.c (gnm_undo_colrow_*_group_finalize): chain to parent
......
......@@ -20,6 +20,7 @@ Morten:
* Plug a few leaks.
* Fix potential crash on quick exit.
* Fix stf import problem diagnosed by Andreas. [#642477]
* Restore toolbar positioning code.
--------------------------------------------------------------------------
Gnumeric 1.10.13
......
......@@ -4035,6 +4035,7 @@ cb_set_toolbar_position (GtkMenuItem *item, WBCGtk *gtk)
GtkToolbar *tb = g_object_get_data (G_OBJECT (item), "toolbar");
GtkPositionType side = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (item), "side"));
if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (item)))
set_toolbar_position (tb, side, gtk);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment