fix for 149189. update goPreference calls with correct parameters. r-ducarroz, sr-alecf.

This commit is contained in:
suresh%netscape.com 2002-06-12 04:09:52 +00:00
parent 155b9b60cb
commit 833f1c7f89
8 changed files with 10 additions and 10 deletions

View File

@ -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();
}
};

View File

@ -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>

View File

@ -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>

View File

@ -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">

View File

@ -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>

View File

@ -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>

View File

@ -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()

View File

@ -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>