зеркало из https://github.com/mozilla/pjs.git
Phase 1 of the XP menu landing. Patching XUL files.
This commit is contained in:
Родитель
a944cfe137
Коммит
7accb23ca0
|
@ -14,36 +14,36 @@
|
|||
<html:script language="JavaScript" src="chrome://global/content/tasksOverlay.js"/>
|
||||
|
||||
<!-- 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>
|
||||
<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 rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
||||
<separator uri="..." />
|
||||
<menuseparator uri="..." />
|
||||
</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>
|
||||
</template>
|
||||
|
||||
<menuitem name="&navigatorCmd.label;" onclick="toNavigator()"/>
|
||||
<menuitem name="&messengerCmd.label;" onclick="toMessengerWindow()"/>
|
||||
<menuitem name="&editorCmd.label;" onclick="toEditor();" />
|
||||
<menuitem name="&textEditorCmd.label;" onclick="toNewTextEditorWindow();" />
|
||||
<separator/>
|
||||
<menuitem name="&addressBookCmd.label;" onclick="toAddressBook()"/>
|
||||
<menuitem name="&newsgroupsCmd.label;" onclick="toNewsgroups()"/>
|
||||
<separator/>
|
||||
<menu name="&toolsMenu.label;">
|
||||
<menuitem name="&historyCmd.label;" onclick="toHistory()"/>
|
||||
<menuitem name="&securityInfoCmd.label;" onclick="toSecurityInfo()"/>
|
||||
<menuitem name="&messageCenterCmd.label;" onclick="toMessengerCenter()"/>
|
||||
<menuitem name="&importUtilCmd.label;" onclick="toImport()"/>
|
||||
<menuitem name="&javaConsoleCmd.label;" onclick="toJavaConsole()"/>
|
||||
<menuitem value="&navigatorCmd.label;" onaction="toNavigator()"/>
|
||||
<menuitem value="&messengerCmd.label;" onaction="toMessengerWindow()"/>
|
||||
<menuitem value="&editorCmd.label;" onaction="toEditor();" />
|
||||
<menuitem value="&textEditorCmd.label;" onaction="toNewTextEditorWindow();" />
|
||||
<menuseparator/>
|
||||
<menuitem value="&addressBookCmd.label;" onaction="toAddressBook()"/>
|
||||
<menuitem value="&newsgroupsCmd.label;" onaction="toNewsgroups()"/>
|
||||
<menuseparator/>
|
||||
<menu value="&toolsMenu.label;">
|
||||
<menuitem value="&historyCmd.label;" onaction="toHistory()"/>
|
||||
<menuitem value="&securityInfoCmd.label;" onaction="toSecurityInfo()"/>
|
||||
<menuitem value="&messageCenterCmd.label;" onaction="toMessengerCenter()"/>
|
||||
<menuitem value="&importUtilCmd.label;" onaction="toImport()"/>
|
||||
<menuitem value="&javaConsoleCmd.label;" onaction="toJavaConsole()"/>
|
||||
</menu>
|
||||
|
||||
<separator/>
|
||||
<menuseparator/>
|
||||
|
||||
</menu>
|
||||
|
||||
|
@ -52,30 +52,30 @@
|
|||
|
||||
<popup id="mozillaPopup">
|
||||
<menu>
|
||||
<menuitem name="&bonsai.label;" onclick="OpenTaskURL('http://cvs-mirror.mozilla.org/webtools/bonsai/toplevel.cgi?treeid=SeaMonkey');"/>
|
||||
<menuitem name="&bugzillaButton.label;" onclick="OpenTaskURL('http://bugzilla.mozilla.org');"/>
|
||||
<menuitem value="&bonsai.label;" onaction="OpenTaskURL('http://cvs-mirror.mozilla.org/webtools/bonsai/toplevel.cgi?treeid=SeaMonkey');"/>
|
||||
<menuitem value="&bugzillaButton.label;" onaction="OpenTaskURL('http://bugzilla.mozilla.org');"/>
|
||||
</menu>
|
||||
</popup>
|
||||
|
||||
<popup id="shoppingPopup">
|
||||
<menu>
|
||||
<menuitem name="&booksButton.label;" onclick="OpenTaskURL('http://www.fatbrain.com' );"/>
|
||||
<menuitem name="&cdButton.label;" onclick="OpenTaskURL('http://www.cdnow.com');" />
|
||||
<menuitem name="&lifeButton.label;" onclick="OpenTaskURL('http://www.match.com');"/>
|
||||
<menuitem value="&booksButton.label;" onaction="OpenTaskURL('http://www.fatbrain.com' );"/>
|
||||
<menuitem value="&cdButton.label;" onaction="OpenTaskURL('http://www.cdnow.com');" />
|
||||
<menuitem value="&lifeButton.label;" onaction="OpenTaskURL('http://www.match.com');"/>
|
||||
</menu>
|
||||
</popup>
|
||||
|
||||
<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>
|
||||
<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 rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
||||
<separator uri="..." />
|
||||
<menuseparator uri="..." />
|
||||
</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>
|
||||
</template>
|
||||
</menu>
|
||||
|
@ -84,10 +84,10 @@
|
|||
|
||||
<box align="horizontal">
|
||||
|
||||
<titledbutton align="left" id="mini-nav" value="" onclick="toNavigator();"/>
|
||||
<titledbutton align="left" id="mini-mail" value="" onclick="toMessengerWindow()"/>
|
||||
<titledbutton align="left" id="mini-addr" value="" onclick="toAddressBook()"/>
|
||||
<titledbutton align="left" id="mini-comp" value="" onclick="toEditor();" />
|
||||
<titledbutton align="left" id="mini-nav" value="" onaction="toNavigator();"/>
|
||||
<titledbutton align="left" id="mini-mail" value="" onaction="toMessengerWindow()"/>
|
||||
<titledbutton align="left" id="mini-addr" value="" onaction="toAddressBook()"/>
|
||||
<titledbutton align="left" id="mini-comp" value="" onaction="toEditor();" />
|
||||
</box>
|
||||
<spring flex="100%"/>
|
||||
<box align="horizontal">
|
||||
|
|
Загрузка…
Ссылка в новой задаче