diff options
| author | Chong Yidong | 2010-12-20 08:17:26 +0800 |
|---|---|---|
| committer | Chong Yidong | 2010-12-20 08:17:26 +0800 |
| commit | 949752705efd6a4b7478623d41b3552f93e9596c (patch) | |
| tree | 3f41f09628f8c7ac17c1c771c69cdb2916cc5fb8 /src/ChangeLog | |
| parent | ef1b0ba7e5a82308514b8427cd84994805e61a4f (diff) | |
| download | emacs-949752705efd6a4b7478623d41b3552f93e9596c.tar.gz emacs-949752705efd6a4b7478623d41b3552f93e9596c.zip | |
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.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4313c68f593..a6ee107422c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 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. |