aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog31
-rw-r--r--src/macterm.h3
2 files changed, 31 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 969f9f6c46d..e2a9a188504 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,34 @@
12005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * macmenu.c (Qmac_apple_event): Add extern.
4 (set_frame_menubar, mac_menu_show keymp_panes)
5 (single_keymap_panes, list_of_panes, list_of_item)
6 (single_menu_item): Add argument types to prototypes.
7 (mac_dialog_show) [HAVE_DIALOGS]: Likewise.
8 (struct skp): New struct (from xmenu.c).
9 (single_keymap_panes, single_menu_item, list_of_panes)
10 (list_of_item): Sync with xmenu.c.
11 (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from
12 POSITION if it is mac-apple-event event.
13 (menubar_selection_callback): Don't use menu_command_in_progress.
14 (set_frame_menubar): First parse all submenus, then make
15 widget_value trees from them. Don't allocate any widget_value
16 objects until we are done with the parsing.
17 (parse_single_submenu, digest_single_submenu): New functions.
18 (single_submenu): Function deleted, replaced by those two.
19 (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't
20 create or dispose of EventHandlerUPP. Install hander to all submenus.
21 (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
22 instead of ENCODE_SYSTEM.
23 (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
24 integer values.
25 [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c).
26 (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to
27 format menu item string. Don't use NULL for integer value.
28
29 * macterm.h (struct mac_output): Remove unused member
30 menu_command_in_progress.
31
12005-12-20 Juri Linkov <juri@jurta.org> 322005-12-20 Juri Linkov <juri@jurta.org>
2 33
3 * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if 34 * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if
diff --git a/src/macterm.h b/src/macterm.h
index ae9c27eb765..fb9651312cd 100644
--- a/src/macterm.h
+++ b/src/macterm.h
@@ -322,9 +322,6 @@ struct mac_output {
322 /* Nonzero means menubar is currently active. */ 322 /* Nonzero means menubar is currently active. */
323 char menubar_active; 323 char menubar_active;
324 324
325 /* Nonzero means a menu command is being processed. */
326 char menu_command_in_progress;
327
328 /* Relief GCs, colors etc. */ 325 /* Relief GCs, colors etc. */
329 struct relief 326 struct relief
330 { 327 {