comparison src/gui.c @ 827:fd1b3406fd1c v7.0d02

updated for version 7.0d02
author vimboss
date Wed, 12 Apr 2006 21:52:12 +0000
parents 6675076019ae
children 8bebcabccc2c
comparison
equal deleted inserted replaced
826:1cdd2661f34c 827:fd1b3406fd1c
546 p_tbidi = FALSE; 546 p_tbidi = FALSE;
547 #endif 547 #endif
548 #if defined(FEAT_GUI_GTK) 548 #if defined(FEAT_GUI_GTK)
549 /* Give GTK+ a chance to put all widget's into place. */ 549 /* Give GTK+ a chance to put all widget's into place. */
550 gui_mch_update(); 550 gui_mch_update();
551
552 # ifdef FEAT_MENU
553 /* If there is no 'm' in 'guioptions' we need to remove the menu now.
554 * It was still there to make F10 work. */
555 if (vim_strchr(p_go, GO_MENUS) == NULL)
556 {
557 --gui.starting;
558 gui_mch_enable_menu(FALSE);
559 ++gui.starting;
560 gui_mch_update();
561 }
562 # endif
563
551 /* Now make sure the shell fits on the screen. */ 564 /* Now make sure the shell fits on the screen. */
552 gui_set_shellsize(FALSE, TRUE, RESIZE_BOTH); 565 gui_set_shellsize(FALSE, TRUE, RESIZE_BOTH);
553 #endif 566 #endif
554 /* When 'lines' was set while starting up the topframe may have to be 567 /* When 'lines' was set while starting up the topframe may have to be
555 * resized. */ 568 * resized. */