Mercurial > emacs
view etc/images/info.xpm @ 111991:968255ee954a
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 17 Dec 2010 12:04:06 +0800 |
parents | fbbac2460322 |
children |
line wrap: on
line source
/* XPM */ static char * info_xpm[] = { "24 24 29 1", " c None", ". c #4F4F4F", "+ c #616161", "@ c #979797", "# c #A6A6A6", "$ c #BEBEBE", "% c #E0E0E0", "& c #C1C1C1", "* c #7B7B7B", "= c #D2D2D2", "- c #C8C8C8", "; c #DFDFDF", "> c #F8F8F8", ", c #8E8E8E", "' c #D7D7D7", ") c #D4D4D4", "! c #6E6E6E", "~ c #E5E5E5", "{ c #CDCDCD", "] c #727272", "^ c #DBDBDB", "/ c #6B6B6B", "( c #9C9C9C", "_ c #A5A5A5", ": c #737373", "< c #AEAEAE", "[ c #A3A3A3", "} c #B5B5B5", "| c #2B2B2B", " ", " .+++. ", " +@#$%%&*. ", " +$======%$. ", " +@-=;>>>;==,. ", " +'=>>>>>>>$)+ ", " !)=%~>>>~;={+ ", " ]$==$,,,$^=$+ ", " /(==,%%$,==_ ", " :$=%%%,$='+ ", " +(=%;%<^;, ", " +;=%<=;$+ ", " +$;==;;[ ", " @@@@@}@ ", " @>>>)))}@ ", " @>>)}@@ ", " @>~))))}@ ", " @@>>)}}@@ ", " @>~))))}@ ", " @@@@@@@ ", " .+.|| ", " ", " ", " "};