Mercurial > emacs
changeset 110389:4fd09e92be41
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).
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Fri, 17 Sep 2010 09:00:12 +0200 |
parents | 9c222728860c |
children | 670fe38909f5 |
files | src/ChangeLog src/gtkutil.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Sep 17 06:46:54 2010 +0000 +++ b/src/ChangeLog Fri Sep 17 09:00:12 2010 +0200 @@ -1,3 +1,8 @@ +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.
--- a/src/gtkutil.c Fri Sep 17 06:46:54 2010 +0000 +++ b/src/gtkutil.c Fri Sep 17 09:00:12 2010 +0200 @@ -3974,6 +3974,8 @@ 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 @@ 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);