Phase 1 of the XP menu landing. Patching XUL files.

This commit is contained in:
hyatt%netscape.com 1999-07-31 03:04:31 +00:00
Родитель a944cfe137
Коммит 7accb23ca0
1 изменённых файлов: 32 добавлений и 32 удалений

Просмотреть файл

@ -14,36 +14,36 @@
<html:script language="JavaScript" src="chrome://global/content/tasksOverlay.js"/> <html:script language="JavaScript" src="chrome://global/content/tasksOverlay.js"/>
<!-- Tasks Menu --> <!-- Tasks Menu -->
<menu id="tasksMenu" name="&tasksMenu.label;" onclick="ShowWindowFromResource(event.target)" datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot"> <menu id="tasksMenu" value="&tasksMenu.label;" onaction="ShowWindowFromResource(event.target)" datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot">
<template> <template>
<rule iscontainer="true" isempty="false"> <rule iscontainer="true" isempty="false">
<menu uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name"/> <menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule> </rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator"> <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<separator uri="..." /> <menuseparator uri="..." />
</rule> </rule>
<rule> <rule>
<menuitem uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name"/> <menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule> </rule>
</template> </template>
<menuitem name="&navigatorCmd.label;" onclick="toNavigator()"/> <menuitem value="&navigatorCmd.label;" onaction="toNavigator()"/>
<menuitem name="&messengerCmd.label;" onclick="toMessengerWindow()"/> <menuitem value="&messengerCmd.label;" onaction="toMessengerWindow()"/>
<menuitem name="&editorCmd.label;" onclick="toEditor();" /> <menuitem value="&editorCmd.label;" onaction="toEditor();" />
<menuitem name="&textEditorCmd.label;" onclick="toNewTextEditorWindow();" /> <menuitem value="&textEditorCmd.label;" onaction="toNewTextEditorWindow();" />
<separator/> <menuseparator/>
<menuitem name="&addressBookCmd.label;" onclick="toAddressBook()"/> <menuitem value="&addressBookCmd.label;" onaction="toAddressBook()"/>
<menuitem name="&newsgroupsCmd.label;" onclick="toNewsgroups()"/> <menuitem value="&newsgroupsCmd.label;" onaction="toNewsgroups()"/>
<separator/> <menuseparator/>
<menu name="&toolsMenu.label;"> <menu value="&toolsMenu.label;">
<menuitem name="&historyCmd.label;" onclick="toHistory()"/> <menuitem value="&historyCmd.label;" onaction="toHistory()"/>
<menuitem name="&securityInfoCmd.label;" onclick="toSecurityInfo()"/> <menuitem value="&securityInfoCmd.label;" onaction="toSecurityInfo()"/>
<menuitem name="&messageCenterCmd.label;" onclick="toMessengerCenter()"/> <menuitem value="&messageCenterCmd.label;" onaction="toMessengerCenter()"/>
<menuitem name="&importUtilCmd.label;" onclick="toImport()"/> <menuitem value="&importUtilCmd.label;" onaction="toImport()"/>
<menuitem name="&javaConsoleCmd.label;" onclick="toJavaConsole()"/> <menuitem value="&javaConsoleCmd.label;" onaction="toJavaConsole()"/>
</menu> </menu>
<separator/> <menuseparator/>
</menu> </menu>
@ -52,30 +52,30 @@
<popup id="mozillaPopup"> <popup id="mozillaPopup">
<menu> <menu>
<menuitem name="&bonsai.label;" onclick="OpenTaskURL('http://cvs-mirror.mozilla.org/webtools/bonsai/toplevel.cgi?treeid=SeaMonkey');"/> <menuitem value="&bonsai.label;" onaction="OpenTaskURL('http://cvs-mirror.mozilla.org/webtools/bonsai/toplevel.cgi?treeid=SeaMonkey');"/>
<menuitem name="&bugzillaButton.label;" onclick="OpenTaskURL('http://bugzilla.mozilla.org');"/> <menuitem value="&bugzillaButton.label;" onaction="OpenTaskURL('http://bugzilla.mozilla.org');"/>
</menu> </menu>
</popup> </popup>
<popup id="shoppingPopup"> <popup id="shoppingPopup">
<menu> <menu>
<menuitem name="&booksButton.label;" onclick="OpenTaskURL('http://www.fatbrain.com' );"/> <menuitem value="&booksButton.label;" onaction="OpenTaskURL('http://www.fatbrain.com' );"/>
<menuitem name="&cdButton.label;" onclick="OpenTaskURL('http://www.cdnow.com');" /> <menuitem value="&cdButton.label;" onaction="OpenTaskURL('http://www.cdnow.com');" />
<menuitem name="&lifeButton.label;" onclick="OpenTaskURL('http://www.match.com');"/> <menuitem value="&lifeButton.label;" onaction="OpenTaskURL('http://www.match.com');"/>
</menu> </menu>
</popup> </popup>
<popup id="windowPopup" > <popup id="windowPopup" >
<menu onclick="ShowWindowFromResource(event.target)" datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot" > <menu onaction="ShowWindowFromResource(event.target)" datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot" >
<template> <template>
<rule iscontainer="true" isempty="false"> <rule iscontainer="true" isempty="false">
<menu uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name"/> <menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule> </rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator"> <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<separator uri="..." /> <menuseparator uri="..." />
</rule> </rule>
<rule> <rule>
<menuitem uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name"/> <menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule> </rule>
</template> </template>
</menu> </menu>
@ -84,10 +84,10 @@
<box align="horizontal"> <box align="horizontal">
<titledbutton align="left" id="mini-nav" value="" onclick="toNavigator();"/> <titledbutton align="left" id="mini-nav" value="" onaction="toNavigator();"/>
<titledbutton align="left" id="mini-mail" value="" onclick="toMessengerWindow()"/> <titledbutton align="left" id="mini-mail" value="" onaction="toMessengerWindow()"/>
<titledbutton align="left" id="mini-addr" value="" onclick="toAddressBook()"/> <titledbutton align="left" id="mini-addr" value="" onaction="toAddressBook()"/>
<titledbutton align="left" id="mini-comp" value="" onclick="toEditor();" /> <titledbutton align="left" id="mini-comp" value="" onaction="toEditor();" />
</box> </box>
<spring flex="100%"/> <spring flex="100%"/>
<box align="horizontal"> <box align="horizontal">