diff options
| author | Chong Yidong | 2010-12-17 12:04:06 +0800 |
|---|---|---|
| committer | Chong Yidong | 2010-12-17 12:04:06 +0800 |
| commit | 4039c78625bb20cf57b434a7d395bf2473e45133 (patch) | |
| tree | 729b8ce725973a7e31d769e4ab1217b517738a21 /src/ChangeLog | |
| parent | 8b358e9038806836c599da8233781b14c6bb53e7 (diff) | |
| download | emacs-4039c78625bb20cf57b434a7d395bf2473e45133.tar.gz emacs-4039c78625bb20cf57b434a7d395bf2473e45133.zip | |
Support for menu separators in the GTK tool-bar.
* src/gtkutil.c (XG_BIN_CHILD): New macro.
(xg_get_menu_item_label, xg_update_menubar)
(xg_update_menu_item, xg_tool_bar_menu_proxy)
(xg_show_toolbar_item, update_frame_tool_bar): Use it.
(separator_names, xg_separator_p): Move to keyboard.c.
(create_menus, xg_update_submenu, update_frame_tool_bar): Use
menu_separator_name_p.
* src/keyboard.c (parse_tool_bar_item): Allow menu separators in
tool-bar maps.
(menu_separator_name_p): New function, from gtkutil.c.
(separator_names): Move from gtkutil.c.
* src/keyboard.h (menu_separator_name_p): Add prototype.
* src/nsmenu.m (name_is_separator): Function deleted.
(addItemWithWidgetValue): Use menu_separator_name_p.
* src/w32menu.c (name_is_separator): Function deleted.
(add_menu_item): Use menu_separator_name_p.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c6e0d92f1f5..f9287ea9c8f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2010-12-17 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * keyboard.c (parse_tool_bar_item): Allow menu separators in | ||
| 4 | tool-bar maps. | ||
| 5 | (menu_separator_name_p): New function, from gtkutil.c. | ||
| 6 | (separator_names): Move from gtkutil.c. | ||
| 7 | |||
| 8 | * keyboard.h (menu_separator_name_p): Add prototype. | ||
| 9 | |||
| 10 | * gtkutil.c (XG_BIN_CHILD): New macro. | ||
| 11 | (xg_get_menu_item_label, xg_update_menubar) | ||
| 12 | (xg_update_menu_item, xg_tool_bar_menu_proxy) | ||
| 13 | (xg_show_toolbar_item, update_frame_tool_bar): Use it. | ||
| 14 | (separator_names, xg_separator_p): Move to keyboard.c. | ||
| 15 | (create_menus, xg_update_submenu, update_frame_tool_bar): Use | ||
| 16 | menu_separator_name_p. | ||
| 17 | |||
| 18 | * nsmenu.m (name_is_separator): Function deleted. | ||
| 19 | (addItemWithWidgetValue): Use menu_separator_name_p. | ||
| 20 | |||
| 21 | * w32menu.c (name_is_separator): Function deleted. | ||
| 22 | (add_menu_item): Use menu_separator_name_p. | ||
| 23 | |||
| 1 | 2010-12-16 Jan Djärv <jan.h.d@swipnet.se> | 24 | 2010-12-16 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 25 | ||
| 3 | * nsterm.m (ns_draw_window_cursor): If the cursor color is the | 26 | * nsterm.m (ns_draw_window_cursor): If the cursor color is the |