# HG changeset patch # User Jan Dj¸«£rv # Date 1188296000 0 # Node ID 7c8832009d312bfc3289948fa034771b3031f83a # Parent 7db330affbcb4d577e6d11deb1426059a4bfe306 Qrtl is new. (parse_tool_bar_item): Handle :rtl keyword. (syms_of_keyboard): Intern :rtl keyword. diff -r 7db330affbcb -r 7c8832009d31 src/keyboard.c --- a/src/keyboard.c Tue Aug 28 10:11:50 2007 +0000 +++ b/src/keyboard.c Tue Aug 28 10:13:20 2007 +0000 @@ -7907,10 +7907,11 @@ static int ntool_bar_items; -/* The symbols `tool-bar', and `:image'. */ +/* The symbols `tool-bar', `:image' and `:rtl'. */ extern Lisp_Object Qtool_bar; Lisp_Object QCimage; +Lisp_Object Qrtl; /* Function prototypes. */ @@ -8196,6 +8197,9 @@ /* Value is either a single image specification or a vector of 4 such specifications for the different button states. */ PROP (TOOL_BAR_ITEM_IMAGES) = value; + else if (EQ (key, Qrtl)) + /* ':rtl STRING' */ + PROP (TOOL_BAR_ITEM_RTL_IMAGE) = value; } /* If got a filter apply it on binding. */ @@ -11223,6 +11227,9 @@ staticpro (&Qhelp_echo); Qhelp_echo = intern ("help-echo"); + staticpro (&Qrtl); + Qrtl = intern (":rtl"); + staticpro (&item_properties); item_properties = Qnil;