* xterm.h (struct x_output): New member, toolbar_detached.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 8 Jan 2005 16:49:14 +0000 (16:49 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 8 Jan 2005 16:49:14 +0000 (16:49 +0000)
commite091085739f5088043e65a10b6b6b423f4e2f354
treeeb7945af633ac9ab5c7e25f518bc099efb023f23
parenta4dfc830e04f9f01cc359e5b0b40ec5f39a3406b
* xterm.h (struct x_output): New member, toolbar_detached.

* gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to
38.
(xg_tool_bar_detach_callback): Set toolbar_detached to 1.
(xg_tool_bar_attach_callback): Set toolbar_detached to 0.
(xg_create_tool_bar): Initialize toolbar_detached.
(update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if
toolbar_detached is zero.
src/ChangeLog
src/gtkutil.c
src/xterm.h