2 <!-- this stylesheet adjusts menu item accelerators:
3 - Command-, for preferences
4 - Command-? for user manual
6 accelerators names are found in gtk/source/gtk+/gdk/gdkkeysyms-compat.h
9 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
12 <xsl:template match=
"@*|node()">
14 <xsl:apply-templates select=
"@*|node()"/>
18 <xsl:template match=
"attribute[@name = 'accel' and preceding-sibling::attribute[@name = 'action' and . = 'app.preferences']]">
19 <attribute name=
"accel"><Primary
>,
</attribute>
22 <xsl:template match=
"attribute[@name='action' and . ='app.help']">
24 <xsl:apply-templates select=
"@*|node()"/>
26 <attribute name=
"accel"><Primary
>?
</attribute>