Mercurial > emacs
diff src/xsettings.c @ 109566:d03bc4a3fced
Add tool bar style text-image-horiz (text to the left of the image).
* lisp/cus-start.el (tool-bar-style): Add text-image-horiz.
* src/gtkutil.c (xg_make_tool_item, xg_show_toolbar_item): Handle tool bar
style text_image_horiz.
* src/lisp.h (Qtext_image_horiz): Declare.
* src/xdisp.c (Qtext_image_horiz): Define.
(syms_of_xdisp): Initialize Qtext_image_horiz. Add text-image-horiz
to ducumentation of tool-bar-style.
* src/xsettings.c (Ftool_bar_get_system_style): Also check for
Qtext_image_horiz.
| author | Jan D. <jan.h.d@swipnet.se> |
|---|---|
| date | Wed, 28 Jul 2010 19:34:51 +0200 |
| parents | 8cfee7d2955f |
| children | 4f757d8e8ed7 |
line wrap: on
line diff
--- a/src/xsettings.c Wed Jul 28 12:25:38 2010 +0200 +++ b/src/xsettings.c Wed Jul 28 19:34:51 2010 +0200 @@ -730,7 +730,8 @@ if (EQ (Vtool_bar_style, Qimage) || EQ (Vtool_bar_style, Qtext) || EQ (Vtool_bar_style, Qboth) - || EQ (Vtool_bar_style, Qboth_horiz)) + || EQ (Vtool_bar_style, Qboth_horiz) + || EQ (Vtool_bar_style, Qtext_image_horiz)) return Vtool_bar_style; if (!NILP (current_tool_bar_style)) return current_tool_bar_style;
