Bug 233461 specify an icon for dialog buttons

r=mconnor
This commit is contained in:
marco%gnome.org 2005-03-02 10:45:51 +00:00
parent 8255a59563
commit d4e1513245
5 changed files with 7 additions and 4 deletions

View File

@ -48,6 +48,7 @@
title="&caption.label;"
onload="onLoad()"
buttonlabelaccept="&openBtn.label;"
buttoniconaccept="open"
ondialogaccept="open()"
style="width: 40em;"
persist="screenX screenY"

View File

@ -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">

View File

@ -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>

View File

@ -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();"/>

View File

@ -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();"