* frame.c (make_initial_frame): Use set_menu_bar_lines (Bug#6660).
This commit is contained in:
parent
ce6e9d7fc6
commit
3b8eff3233
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-07-17 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* frame.c (make_initial_frame): Use set_menu_bar_lines (Bug#6660).
|
||||
|
||||
2010-07-17 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* gtkutil.c (xg_event_is_for_menubar): Also check that event window
|
||||
|
|
|
@ -553,7 +553,9 @@ make_initial_frame (void)
|
|||
|
||||
FRAME_CAN_HAVE_SCROLL_BARS (f) = 0;
|
||||
FRAME_VERTICAL_SCROLL_BAR_TYPE (f) = vertical_scroll_bar_none;
|
||||
FRAME_MENU_BAR_LINES(f) = NILP (Vmenu_bar_mode) ? 0 : 1;
|
||||
|
||||
/* The default value of menu-bar-mode is t. */
|
||||
set_menu_bar_lines (f, make_number (1), Qnil);
|
||||
|
||||
#ifdef CANNOT_DUMP
|
||||
if (!noninteractive)
|
||||
|
|
Loading…
Add table
Reference in a new issue