зеркало из https://github.com/mozilla/pjs.git
Fix for bug 16340. Add button Insert Object in MsgCompose Format Toolbar. R=cmanske
This commit is contained in:
Родитель
42774e25f1
Коммит
f17eeb679e
|
@ -522,7 +522,26 @@
|
|||
<titledbutton id="text-align-justify" align="left" value="&alignJustify.label;"/>
|
||||
</menuitem>
|
||||
</menupopup>
|
||||
|
||||
|
||||
<!-- InsertPopup is used by messengercompose.xul -->
|
||||
<menupopup id="InsertPopup">
|
||||
<menuitem oncommand="EditorInsertLink()">
|
||||
<titledbutton id="linkButton-dark" darkcolor="true" align="left" value="&linkToolbarCmd.label;"/>
|
||||
</menuitem>
|
||||
<menuitem oncommand="EditorInsertNamedAnchor()">
|
||||
<titledbutton id="namedAnchorButton-dark" align="left" value="&anchorToolbarCmd.label;"/>
|
||||
</menuitem>
|
||||
<menuitem oncommand="EditorInsertImage()">
|
||||
<titledbutton id="imageButton-dark" align="left" value="&imageToolbarCmd.label;"/>
|
||||
</menuitem>
|
||||
<menuitem oncommand="EditorInsertHLine()">
|
||||
<titledbutton id="hlineButton-dark" align="left" value="&hruleToolbarCmd.label;"/>
|
||||
</menuitem>
|
||||
<menuitem oncommand="EditorInsertOrEditTable(true)">
|
||||
<titledbutton id="tableButton-dark" align="left" value="&tableToolbarCmd.label;"/>
|
||||
</menuitem>
|
||||
</menupopup>
|
||||
|
||||
<!-- Editor toolbar items -->
|
||||
<!-- note that we override the submenu item label "Blank Window" with "New" used for the menu -->
|
||||
<titledbutton id="newButton" class="button28" observes="cmd_newEditor" value="&newMenu.label;" />
|
||||
|
@ -607,6 +626,9 @@
|
|||
<titledbutton id="outdentButton" class="format" onclick="EditorIndent('outdent')"/>
|
||||
<titledbutton id="indentButton" class="format" onclick="EditorIndent('indent')"/>
|
||||
<titledbutton id="AlignPopupButton" class="format popup" popupanchor="bottomleft"/>
|
||||
|
||||
<!-- InsertPopupButton is used by messengercompose.xul -->
|
||||
<titledbutton id="InsertPopupButton" class="format popup" popupanchor="bottomleft"/>
|
||||
|
||||
|
||||
<!-- DEBUG only -->
|
||||
|
|
|
@ -212,6 +212,21 @@ titledbutton#hlineButton {
|
|||
titledbutton#tableButton {
|
||||
list-style-image:url("chrome://editor/skin/images/table-white.gif");
|
||||
}
|
||||
titledbutton#linkButton-dark {
|
||||
list-style-image:url("chrome://editor/skin/images/link.gif");
|
||||
}
|
||||
titledbutton#imageButton-dark {
|
||||
list-style-image:url("chrome://editor/skin/images/image.gif");
|
||||
}
|
||||
titledbutton#namedAnchorButton-dark {
|
||||
list-style-image:url("chrome://editor/skin/images/anchor.gif");
|
||||
}
|
||||
titledbutton#hlineButton-dark {
|
||||
list-style-image:url("chrome://editor/skin/images/hline.gif");
|
||||
}
|
||||
titledbutton#tableButton-dark {
|
||||
list-style-image:url("chrome://editor/skin/images/table.gif");
|
||||
}
|
||||
titledbutton#spellingButton {
|
||||
list-style-image:url("chrome://editor/skin/images/spell.gif");
|
||||
}
|
||||
|
@ -258,6 +273,9 @@ titledbutton#indentButton {
|
|||
titledbutton#AlignPopupButton {
|
||||
list-style-image:url("chrome://editor/skin/images/align.gif");
|
||||
}
|
||||
titledbutton#InsertPopupButton {
|
||||
list-style-image:url("chrome://editor/skin/images/object-popup.gif");
|
||||
}
|
||||
|
||||
/* Doesn't work! */
|
||||
box#ColorButtons:hover {
|
||||
|
|
Загрузка…
Ссылка в новой задаче