mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Accesskeys for themes (75201, patch by neil@parkwaycc.co.uk). r=blake sr=alecf
This commit is contained in:
parent
a8d842866c
commit
b2084a6044
@ -11,6 +11,7 @@
|
||||
<!-- classic Information -->
|
||||
<RDF:Description about="urn:mozilla:skin:classic/1.0"
|
||||
chrome:displayName="Classic"
|
||||
chrome:accessKey="C"
|
||||
chrome:author="mozilla.org"
|
||||
chrome:description="This theme simulates the familiar appearance of previous Netscape versions for the Mac OS."
|
||||
chrome:name="classic/1.0"
|
||||
|
@ -11,6 +11,7 @@
|
||||
<!-- classic Information -->
|
||||
<RDF:Description about="urn:mozilla:skin:classic/1.0"
|
||||
chrome:displayName="Classic"
|
||||
chrome:accessKey="C"
|
||||
chrome:author="mozilla.org"
|
||||
chrome:description="This theme simulates the familiar appearance of previous Netscape versions for the Windows operating system."
|
||||
chrome:name="classic/1.0"
|
||||
|
@ -11,6 +11,7 @@
|
||||
<!-- Modern Information -->
|
||||
<RDF:Description about="urn:mozilla:skin:modern/1.0"
|
||||
chrome:displayName="Modern"
|
||||
chrome:accessKey="M"
|
||||
chrome:author="mozilla.org"
|
||||
chrome:description="A contemporary theme for all Communicator components."
|
||||
chrome:name="modern/1.0"
|
||||
|
@ -254,15 +254,18 @@
|
||||
</menu>
|
||||
|
||||
<menu id = "charsetMenu" />
|
||||
<menuseparator/>
|
||||
<menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
|
||||
<menupopup datasources="rdf:chrome" ref="urn:mozilla:skin:root" oncommand="applyTheme(event.target)">
|
||||
<menuitem label="&themePreferencesCmd.label;" accesskey="&themePreferencesCmd.accesskey;"
|
||||
oncommand="goPreferences('pref-themes.xul','chrome://communicator/content/pref/pref-themes.xul')"/>
|
||||
<menuitem label="&getNewThemesCmd.label;" accesskey="&getNewThemesCmd.accesskey;" oncommand="getNewThemes();"/>
|
||||
<menuseparator/>
|
||||
<menuseparator/>
|
||||
<menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
|
||||
<menupopup datasources="rdf:chrome" ref="urn:mozilla:skin:root" oncommand="applyTheme(event.target)">
|
||||
<menuitem label="&themePreferencesCmd.label;" accesskey="&themePreferencesCmd.accesskey;"
|
||||
oncommand="goPreferences('pref-themes.xul','chrome://communicator/content/pref/pref-themes.xul')"/>
|
||||
<menuitem label="&getNewThemesCmd.label;" accesskey="&getNewThemesCmd.accesskey;" oncommand="getNewThemes();"/>
|
||||
<menuseparator/>
|
||||
<template>
|
||||
<menuitem uri="..." label="rdf:http://www.mozilla.org/rdf/chrome#displayName" name="rdf:http://www.mozilla.org/rdf/chrome#name"/>
|
||||
<menuitem uri="..."
|
||||
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
accesskey="rdf:http://www.mozilla.org/rdf/chrome#accessKey"
|
||||
name="rdf:http://www.mozilla.org/rdf/chrome#name"/>
|
||||
</template>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
Loading…
Reference in New Issue
Block a user