diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-12-20 08:17:26 +0800 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-12-20 08:17:26 +0800 |
commit | 949752705efd6a4b7478623d41b3552f93e9596c (patch) | |
tree | 3f41f09628f8c7ac17c1c771c69cdb2916cc5fb8 /etc/images | |
parent | ef1b0ba7e5a82308514b8427cd84994805e61a4f (diff) | |
download | emacs-949752705efd6a4b7478623d41b3552f93e9596c.tar.gz |
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 'etc/images')
-rw-r--r-- | etc/images/separator.xpm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/images/separator.xpm b/etc/images/separator.xpm index 0c518fa7599..b728316a8f8 100644 --- a/etc/images/separator.xpm +++ b/etc/images/separator.xpm @@ -2,11 +2,12 @@ static char * separator_xpm[] = { "2 24 3 1", " c None", -". c #DBD3CB", -"+ c #FCFBFA", -" ", +". c #888888", +"+ c #FFFFFF", " ", " ", +".+ ", +".+", ".+", ".+", ".+", @@ -25,6 +26,5 @@ static char * separator_xpm[] = { ".+", ".+", ".+", -" ", " ", " "}; |