Phase 3. Moving the menu bar into the toolbox and enabling XP menus.

This commit is contained in:
hyatt%netscape.com 1999-07-31 11:33:23 +00:00
Родитель 0541afe016
Коммит d11e6f8846
3 изменённых файлов: 13 добавлений и 11 удалений

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

@ -97,7 +97,9 @@
<html:script language="JavaScript" src="chrome://messenger/content/commandglue.js"/> <html:script language="JavaScript" src="chrome://messenger/content/commandglue.js"/>
<html:script language="JavaScript" src="resource:/res/samples/DumpDOM.js"/> <html:script language="JavaScript" src="resource:/res/samples/DumpDOM.js"/>
--> -->
<menubar>
<toolbox>
<menubar>
<menu id="fileMenu" value="&fileMenu.label;"> <menu id="fileMenu" value="&fileMenu.label;">
<menupopup> <menupopup>
<menu value="&newMenu.label;"> <menu value="&newMenu.label;">
@ -170,9 +172,8 @@
<menu id="tasksMenu"/> <menu id="tasksMenu"/>
<menu id="helpMenu"/> <menu id="helpMenu"/>
<spring flex="100%"/>
</menubar> </menubar>
<toolbox>
<toolbar> <toolbar>
<titledbutton src="&newcardButton.img;" align="bottom" value="&newcardButton.label;" onclick="AbNewCardDialog()"/> <titledbutton src="&newcardButton.img;" align="bottom" value="&newcardButton.label;" onclick="AbNewCardDialog()"/>
<titledbutton src="&newlistButton.img;" align="bottom" value="&newlistButton.label;" onclick="AbNewList()"/> <titledbutton src="&newlistButton.img;" align="bottom" value="&newlistButton.label;" onclick="AbNewList()"/>

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

@ -257,7 +257,8 @@ Rights Reserved.
<html:script src="chrome://messenger/content/commandglue.js"/> <html:script src="chrome://messenger/content/commandglue.js"/>
<html:script src="chrome://messenger/content/shareglue.js"/> <html:script src="chrome://messenger/content/shareglue.js"/>
<menubar> <toolbox>
<menubar>
<menu id="fileMenu" value="&fileMenu.label;"> <menu id="fileMenu" value="&fileMenu.label;">
<menupopup> <menupopup>
<menu value="&newMenu.label;"> <menu value="&newMenu.label;">
@ -559,11 +560,9 @@ Rights Reserved.
<menu id="tasksMenu"/> <menu id="tasksMenu"/>
<menu id="helpMenu"/> <menu id="helpMenu"/>
<spring flex="100%"/>
</menubar> </menubar>
<toolbox>
<toolbar> <toolbar>
<titledbutton src="&getMsgButton.img;" align="top" value="&getMsgButton.label;" onclick="MsgGetMessage()"/> <titledbutton src="&getMsgButton.img;" align="top" value="&getMsgButton.label;" onclick="MsgGetMessage()"/>
<titledbutton src="&newMsgButton.img;" align="top" value="&newMsgButton.label;" onclick="MsgNewMessage()"/> <titledbutton src="&newMsgButton.img;" align="top" value="&newMsgButton.label;" onclick="MsgNewMessage()"/>

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

@ -54,7 +54,10 @@ Rights Reserved.
<broadcaster id="dialog.start" ready="false"/> <broadcaster id="dialog.start" ready="false"/>
<observes element="dialog.start" attribute="ready" onchange="ComposeStartup()"/> <observes element="dialog.start" attribute="ready" onchange="ComposeStartup()"/>
<menubar>
<!-- box id="toolbar" align="vertical" style="width:100%;height:100%" -->
<toolbox>
<menubar>
<menu id="fileMenu" value="&fileMenu.label;"> <menu id="fileMenu" value="&fileMenu.label;">
<menupopup> <menupopup>
<menuitem value="&newCmd.label;" cmd="nsCmd:ComposeNew"/> <menuitem value="&newCmd.label;" cmd="nsCmd:ComposeNew"/>
@ -184,10 +187,9 @@ Rights Reserved.
</menu> </menu>
<menu id="tasksMenu"/> <menu id="tasksMenu"/>
<menu id="helpMenu"/> <menu id="helpMenu"/>
</menubar> <spring flex="100%"/>
</menubar>
<!-- box id="toolbar" align="vertical" style="width:100%;height:100%" -->
<toolbox>
<toolbar> <toolbar>
<titledbutton src="&sendButton.img;" align="bottom" value="&sendButton.label;" onclick="SendMessage()"/> <titledbutton src="&sendButton.img;" align="bottom" value="&sendButton.label;" onclick="SendMessage()"/>
<titledbutton src="&quoteButton.img;" align="bottom" value="&quoteButton.label;" onclick="QuoteMessage()"/> <titledbutton src="&quoteButton.img;" align="bottom" value="&quoteButton.label;" onclick="QuoteMessage()"/>