зеркало из https://github.com/mozilla/pjs.git
Phase 3. Moving the menu bar into the toolbox and enabling XP menus.
This commit is contained in:
Родитель
0541afe016
Коммит
d11e6f8846
|
@ -97,6 +97,8 @@
|
|||
<html:script language="JavaScript" src="chrome://messenger/content/commandglue.js"/>
|
||||
<html:script language="JavaScript" src="resource:/res/samples/DumpDOM.js"/>
|
||||
-->
|
||||
|
||||
<toolbox>
|
||||
<menubar>
|
||||
<menu id="fileMenu" value="&fileMenu.label;">
|
||||
<menupopup>
|
||||
|
@ -170,9 +172,8 @@
|
|||
|
||||
<menu id="tasksMenu"/>
|
||||
<menu id="helpMenu"/>
|
||||
<spring flex="100%"/>
|
||||
</menubar>
|
||||
|
||||
<toolbox>
|
||||
<toolbar>
|
||||
<titledbutton src="&newcardButton.img;" align="bottom" value="&newcardButton.label;" onclick="AbNewCardDialog()"/>
|
||||
<titledbutton src="&newlistButton.img;" align="bottom" value="&newlistButton.label;" onclick="AbNewList()"/>
|
||||
|
|
|
@ -257,6 +257,7 @@ Rights Reserved.
|
|||
<html:script src="chrome://messenger/content/commandglue.js"/>
|
||||
<html:script src="chrome://messenger/content/shareglue.js"/>
|
||||
|
||||
<toolbox>
|
||||
<menubar>
|
||||
<menu id="fileMenu" value="&fileMenu.label;">
|
||||
<menupopup>
|
||||
|
@ -559,11 +560,9 @@ Rights Reserved.
|
|||
|
||||
<menu id="tasksMenu"/>
|
||||
<menu id="helpMenu"/>
|
||||
|
||||
<spring flex="100%"/>
|
||||
</menubar>
|
||||
|
||||
|
||||
<toolbox>
|
||||
<toolbar>
|
||||
<titledbutton src="&getMsgButton.img;" align="top" value="&getMsgButton.label;" onclick="MsgGetMessage()"/>
|
||||
<titledbutton src="&newMsgButton.img;" align="top" value="&newMsgButton.label;" onclick="MsgNewMessage()"/>
|
||||
|
|
|
@ -54,7 +54,10 @@ Rights Reserved.
|
|||
<broadcaster id="dialog.start" ready="false"/>
|
||||
<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;">
|
||||
<menupopup>
|
||||
<menuitem value="&newCmd.label;" cmd="nsCmd:ComposeNew"/>
|
||||
|
@ -184,10 +187,9 @@ Rights Reserved.
|
|||
</menu>
|
||||
<menu id="tasksMenu"/>
|
||||
<menu id="helpMenu"/>
|
||||
</menubar>
|
||||
<spring flex="100%"/>
|
||||
</menubar>
|
||||
|
||||
<!-- box id="toolbar" align="vertical" style="width:100%;height:100%" -->
|
||||
<toolbox>
|
||||
<toolbar>
|
||||
<titledbutton src="&sendButton.img;" align="bottom" value="&sendButton.label;" onclick="SendMessage()"/>
|
||||
<titledbutton src=""eButton.img;" align="bottom" value=""eButton.label;" onclick="QuoteMessage()"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче