comparison src/menubar.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents fdefd0186b75
children e38acbeb1cae
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
1 /* Implements an elisp-programmable menubar. 1 /* Implements an elisp-programmable menubar.
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc. 2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp. 3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
4 Copyright (C) 2001 Ben Wing.
4 5
5 This file is part of XEmacs. 6 This file is part of XEmacs.
6 7
7 XEmacs is free software; you can redistribute it and/or modify it 8 XEmacs is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the 9 under the terms of the GNU General Public License as published by the
412 * '(("No active menubar" ["" nil nil])) 413 * '(("No active menubar" ["" nil nil]))
413 * which creates a menu whose title is "No active menubar", 414 * which creates a menu whose title is "No active menubar",
414 * and this works fine. 415 * and this works fine.
415 */ 416 */
416 417
417 Vblank_menubar = list1 (list2 (build_string ("No active menubar"), 418 Vblank_menubar = list1 (list2 (build_msg_string ("No active menubar"),
418 vector3 (build_string (""), Qnil, Qnil))); 419 vector3 (build_string (""), Qnil, Qnil)));
419 staticpro (&Vblank_menubar); 420 staticpro (&Vblank_menubar);
420 421
421 DEFVAR_BOOL ("popup-menu-titles", &popup_menu_titles /* 422 DEFVAR_BOOL ("popup-menu-titles", &popup_menu_titles /*
422 If true, popup menus will have title bars at the top. 423 If true, popup menus will have title bars at the top.