mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix for 149189. update goPreference calls with correct parameters. r-ducarroz, sr-alecf.
This commit is contained in:
parent
155b9b60cb
commit
833f1c7f89
@ -3203,7 +3203,7 @@ var nsPreferencesCommand =
|
||||
},
|
||||
doCommand: function(aCommand)
|
||||
{
|
||||
goPreferences('navigator.xul', 'chrome://editor/content/pref-composer.xul','editor');
|
||||
goPreferences('editor', 'chrome://editor/content/pref-composer.xul','editor');
|
||||
window._content.focus();
|
||||
}
|
||||
};
|
||||
|
@ -201,7 +201,7 @@
|
||||
<menuitem id="menu_selectAll"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="menu_preferences"
|
||||
oncommand="goPreferences('navigator.xul', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
|
||||
oncommand="goPreferences('navigator', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
@ -109,7 +109,7 @@
|
||||
<menuitem id="menu_selectAll"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="menu_preferences"
|
||||
oncommand="goPreferences('navigator.xul', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator');"/>
|
||||
oncommand="goPreferences('navigator', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator');"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
@ -173,7 +173,7 @@ Contributor(s):
|
||||
accesskey="&propertiesCmd.accesskey;"
|
||||
key="key_properties"
|
||||
command="cmd_properties"/>
|
||||
<menuitem id="menu_preferences" oncommand="goPreferences('addressbook.xul', 'chrome://messenger/content/addressbook/pref-addressing.xul')"/>
|
||||
<menuitem id="menu_preferences" oncommand="goPreferences('mailnews', 'chrome://messenger/content/addressbook/pref-addressing.xul', 'mailaddressbookpref')"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menu id="menu_View">
|
||||
|
@ -83,7 +83,7 @@
|
||||
<treecell url="chrome://messenger/content/pref-viewing_messages.xul" label="&viewingMessages.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treeitem id="mailcomposepref">
|
||||
<treerow>
|
||||
<treecell url="chrome://messenger/content/messengercompose/pref-composing_messages.xul" label="&composingMessages.label;"/>
|
||||
</treerow>
|
||||
@ -93,7 +93,7 @@
|
||||
<treecell url="chrome://messenger/content/messengercompose/pref-formatting.xul" label="&format.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treeitem id="mailaddressbookpref">
|
||||
<treerow>
|
||||
<treecell url="chrome://messenger/content/addressbook/pref-addressing.xul" label="&address.label;"/>
|
||||
</treerow>
|
||||
|
@ -1029,7 +1029,7 @@ Rights Reserved.
|
||||
accesskey="&folderPropsCmd.accesskey;"
|
||||
observes="cmd_properties"/>
|
||||
<menuitem label="&accountManagerCmd.label;" accesskey="&accountManagerCmd.accesskey;" oncommand="MsgAccountManager(null);"/>
|
||||
<menuitem id="menu_preferences" oncommand="goPreferences('messenger.xul', 'chrome://messenger/content/pref-mailnews.xul','mailnews')"/>
|
||||
<menuitem id="menu_preferences" oncommand="goPreferences('mailnews', 'chrome://messenger/content/pref-mailnews.xul','mailnews')"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
@ -1139,7 +1139,7 @@ function DoCommandPrint()
|
||||
|
||||
function DoCommandPreferences()
|
||||
{
|
||||
goPreferences('messengercompose.xul', 'chrome://messenger/content/messengercompose/pref-composing_messages.xul')
|
||||
goPreferences('mailnews', 'chrome://messenger/content/messengercompose/pref-composing_messages.xul', 'mailcomposepref');
|
||||
}
|
||||
|
||||
function ToggleWindowLock()
|
||||
|
@ -220,7 +220,7 @@
|
||||
<menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
|
||||
<menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
|
||||
<menuseparator id="menu_PrefsSeparator"/>
|
||||
<menuitem id="menu_preferences" oncommand="goPreferences('navigator.xul', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
|
||||
<menuitem id="menu_preferences" oncommand="goPreferences('navigator', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
@ -259,7 +259,7 @@
|
||||
<menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
|
||||
<menupopup id="theme" datasources="rdf:chrome" ref="urn:mozilla:skin:root" oncommand="applyTheme(event.target)" onpopupshowing="checkTheme()">
|
||||
<menuitem label="&themePreferencesCmd.label;" accesskey="&themePreferencesCmd.accesskey;"
|
||||
oncommand="goPreferences('pref-themes.xul','chrome://communicator/content/pref/pref-themes.xul')"/>
|
||||
oncommand="goPreferences('appearance','chrome://communicator/content/pref/pref-themes.xul', 'themes-panel')"/>
|
||||
<menuitem label="&getNewThemesCmd.label;" accesskey="&getNewThemesCmd.accesskey;" oncommand="getNewThemes();"/>
|
||||
<menuseparator/>
|
||||
<template>
|
||||
|
Loading…
Reference in New Issue
Block a user