Mercurial > emacs
comparison src/ChangeLog @ 111998:bc8dc4ac1e28
Implement tool-bar separators for non-GTK tool-bars.
* lisp/tool-bar.el (tool-bar--image-expression): New function.
(tool-bar-local-item, tool-bar--image-exp): Use it.
(tool-bar-setup): Initialize tool-bar-separator-image-expression.
Use :enable instead of :visible to avoid changing the tool-bar
configuration unnecessarily.
* src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
(parse_tool_bar_item): Use it to obtain image separators for
displays not using native tool-bar separators.
* src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
specially, since this is now done in parse_tool_bar_item.
* lisp/info.el (info-tool-bar-map): Add separators.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 20 Dec 2010 08:17:26 +0800 |
parents | a5a188ddc758 |
children | b476e8175f20 |
comparison
equal
deleted
inserted
replaced
111997:a5a188ddc758 | 111998:bc8dc4ac1e28 |
---|---|
1 2010-12-20 Chong Yidong <cyd@stupidchicken.com> | |
2 | |
3 * keyboard.c (Vtool_bar_separator_image_expression): New variable. | |
4 (parse_tool_bar_item): Use it to obtain image separators for | |
5 displays not using native tool-bar separators. | |
6 | |
7 * xdisp.c (build_desired_tool_bar_string): Don't handle separators | |
8 specially, since this is now done in parse_tool_bar_item. | |
9 | |
1 2010-12-19 Stefan Monnier <monnier@iro.umontreal.ca> | 10 2010-12-19 Stefan Monnier <monnier@iro.umontreal.ca> |
2 | 11 |
3 Minor clean up to silence some gcc warnings. | 12 Minor clean up to silence some gcc warnings. |
4 * window.c (Fset_window_buffer): | 13 * window.c (Fset_window_buffer): |
5 * xterm.c (x_set_frame_alpha): Restructure code to silence | 14 * xterm.c (x_set_frame_alpha): Restructure code to silence |