Commit 318a04c6 authored by Jan D's avatar Jan D
Browse files

Put handle on top for vertical toolbar, Bug#7051.

* gtkutil.c (xg_pack_tool_bar): Call gtk_handle_box_set_handle_position
with argument top/left if tool bar is vertical/horizontal (Bug#7051).
parent 0eb04273
2010-09-17 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_pack_tool_bar): Call gtk_handle_box_set_handle_position
with argument top/left if tool bar is vertical/horizontal (Bug#7051).
2010-09-17 Kenichi Handa <handa@m17n.org>
 
* ftfont.c (ftfont_check_otf): Fix previous change.
......
......@@ -3974,6 +3974,8 @@ xg_pack_tool_bar (FRAME_PTR f, Lisp_Object pos)
if (into_hbox)
{
gtk_handle_box_set_handle_position (GTK_HANDLE_BOX (x->handlebox_widget),
GTK_POS_TOP);
gtk_box_pack_start (GTK_BOX (x->hbox_widget), x->handlebox_widget,
FALSE, FALSE, 0);
......@@ -3986,6 +3988,8 @@ xg_pack_tool_bar (FRAME_PTR f, Lisp_Object pos)
else
{
int vbox_pos = x->menubar_widget ? 1 : 0;
gtk_handle_box_set_handle_position (GTK_HANDLE_BOX (x->handlebox_widget),
GTK_POS_LEFT);
gtk_box_pack_start (GTK_BOX (x->vbox_widget), x->handlebox_widget,
FALSE, FALSE, 0);
......
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