GNOME Bugzilla – Bug 687026
xml: add "text" attribute to key
Last modified: 2012-10-30 05:44:53 UTC
Most software keyboards support special keys (like ".com") to input text instead of a character. Also, some international keyboads have such a key in the spec. For example, with Hindi inscript keyboard, the character on "%" is "ज्ञ" which is actually a composition of three characters (U+091e, U+094d, and U+091c). This patch adds "text" attribute to the XML to specify text to be generated. To complete this feature, we will probably need to add KeyModel.label so antler and gnome-shell can render the labels properly (somewhat related to bug 656175).
Created attachment 227441 [details] [review] xml: add "text" attribute to key
Review of attachment 227441 [details] [review]: Looks good to me
Created attachment 227612 [details] [review] xml: add "text" attribute to key Add a new attribute "text" to the key elements in XML, so that text producing keys such as ".com" can be implemented.
The following fix has been pushed: d4c2802 xml: add "text" attribute to key
Created attachment 227613 [details] [review] xml: add "text" attribute to key Add a new attribute "text" to the key elements in XML, so that text producing keys such as ".com" can be implemented.