mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 233461 specify an icon for dialog buttons
r=mconnor
This commit is contained in:
parent
8255a59563
commit
d4e1513245
@ -48,6 +48,7 @@
|
||||
title="&caption.label;"
|
||||
onload="onLoad()"
|
||||
buttonlabelaccept="&openBtn.label;"
|
||||
buttoniconaccept="open"
|
||||
ondialogaccept="open()"
|
||||
style="width: 40em;"
|
||||
persist="screenX screenY"
|
||||
|
@ -335,7 +335,7 @@
|
||||
<label value="&mediaPreview;" class="header"/>
|
||||
<spacer flex="1"/>
|
||||
<button label="&mediaSaveAs;" accesskey="&mediaSaveAs.accesskey;"
|
||||
id="imagesaveasbutton" disabled="true"
|
||||
icon="save" id="imagesaveasbutton" disabled="true"
|
||||
oncommand="saveMedia();"/>
|
||||
</hbox>
|
||||
<vbox class="inset iframe" flex="1" pack="center">
|
||||
|
@ -66,9 +66,9 @@
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<button label="&unblock.label;" id="unblockButton" oncommand="whitelistSite();"
|
||||
disabled="true" accesskey="&unblock.accesskey;"/>
|
||||
disabled="true" accesskey="&unblock.accesskey;" icon="yes"/>
|
||||
<spacer flex="1"/>
|
||||
<button dlgtype="accept" label="&done.label;" default="true"
|
||||
<button dlgtype="accept" label="&done.label;" default="true" icon="close"
|
||||
oncommand="window.close();" accesskey="&done.accesskey;"/>
|
||||
</hbox>
|
||||
</dialog>
|
||||
|
@ -108,7 +108,7 @@
|
||||
<bookmarks-tree id="bookmarks-view" flex="1" type="folders"/>
|
||||
<vbox>
|
||||
<button label="&button.newfolder.label;" accesskey="&button.newfolder.accesskey;"
|
||||
oncommand="createNewFolder();"/>
|
||||
oncommand="createNewFolder();" icon="open"/>
|
||||
<button label="&button.defaultfolder.label;"
|
||||
accesskey="&button.defaultfolder.accesskey;"
|
||||
oncommand="useDefaultFolder();"/>
|
||||
|
@ -60,6 +60,8 @@
|
||||
#ifdef XP_UNIX
|
||||
buttonlabelaccept="&acceptButton.label;"
|
||||
#endif
|
||||
buttoniconaccept="add"
|
||||
buttoniconextra2="open"
|
||||
title="&newBookmark.title;" title-selectFolder="&selectFolder.label;"
|
||||
onload="Startup();"
|
||||
onunload="setFolderTreeHeight();"
|
||||
|
Loading…
Reference in New Issue
Block a user