Fix handling of tool-bar-position, also put into default-frame-alist.
authorJan D <jan.h.d@swipnet.se>
Fri, 13 Aug 2010 13:26:13 +0000 (15:26 +0200)
committerJan D <jan.h.d@swipnet.se>
Fri, 13 Aug 2010 13:26:13 +0000 (15:26 +0200)
commit2b4e627726bc1dfcbf95f069fb97f932471efad8
tree8dad1c6b6bafa7531bdac10e432742258ddae9f5
parent9dec0f7642296c34dfd3700c6094808ce6ed289e
Fix handling of tool-bar-position, also put into default-frame-alist.

* lisp/menu-bar.el (menu-bar-set-tool-bar-position): New function.
(menu-bar-showhide-tool-bar-menu-customize-enable-left)
(menu-bar-showhide-tool-bar-menu-customize-enable-right)
(menu-bar-showhide-tool-bar-menu-customize-enable-top)
(menu-bar-showhide-tool-bar-menu-customize-enable-bottom): Call
menu-bar-set-tool-bar-position.

* src/frame.h (Qtool_bar_position): Declare.

* src/xfns.c (Fx_create_frame): Call x_default_parameter for
Qtool_bar_position.
lisp/ChangeLog
lisp/menu-bar.el
src/ChangeLog
src/frame.h
src/xfns.c