Add icons to move and copy menus.

This commit is contained in:
putterman%netscape.com 1999-08-26 05:27:52 +00:00
Родитель f690c2560d
Коммит 6e18ec0a25
2 изменённых файлов: 106 добавлений и 4 удалений

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

@ -305,7 +305,11 @@ Rights Reserved.
<template> <template>
<rule iscontainer="true" isempty="false"> <rule iscontainer="true" isempty="false">
<menupopup> <menupopup>
<menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"> <menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
<menupopup> <menupopup>
<menuitem uri="..." value="&fileHereMenu.label;"/> <menuitem uri="..." value="&fileHereMenu.label;"/>
<menuseparator/> <menuseparator/>
@ -315,7 +319,11 @@ Rights Reserved.
</rule> </rule>
<rule> <rule>
<menupopup> <menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MsgMoveMessage(event.target)" /> <menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MsgMoveMessage(event.target)"
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
</menupopup> </menupopup>
</rule> </rule>
</template> </template>
@ -325,7 +333,11 @@ Rights Reserved.
<template> <template>
<rule iscontainer="true" isempty="false"> <rule iscontainer="true" isempty="false">
<menupopup> <menupopup>
<menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name"> <menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
<menupopup> <menupopup>
<menuitem uri="..." value="&fileHereMenu.label;"/> <menuitem uri="..." value="&fileHereMenu.label;"/>
<menuseparator/> <menuseparator/>
@ -335,7 +347,11 @@ Rights Reserved.
</rule> </rule>
<rule> <rule>
<menupopup> <menupopup>
<menuitem uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MsgCopyMessage(event.target)" /> <menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MsgCopyMessage(event.target)"
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
</menupopup> </menupopup>
</rule> </rule>
</template> </template>

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

@ -53,3 +53,89 @@ titledbutton#Throbber[busy="true"] {
list-style-image:url(chrome://navigator/skin/animthrob.gif); list-style-image:url(chrome://navigator/skin/animthrob.gif);
} }
.folderMenuItem > .menu-left {
list-style-image: url("chrome://messenger/skin/Folder.gif");
}
.folderMenuItem[open="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderO.gif");
}
.folderMenuItem[IsServer="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/Server.gif");
}
/* special folder */
.folderMenuItem[SpecialFolder="Inbox"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderInbox.gif");
}
.folderMenuItem[SpecialFolder="Inbox"][open="true"] > .menu-left
{
list-style-image: url("chrome://messenger/skin/FolderInboxO.gif");
}
.folderMenuItem[SpecialFolder="Trash"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderTrash.gif");
}
.folderMenuItem[SpecialFolder="Trash"][open="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderTrashO.gif");
}
.folderMenuItem[SpecialFolder="Sent"] > > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderSent.gif");
}
.folderMenuItem[SpecialFolder="Sent"][open="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderSentO.gif");
}
.folderMenuItem[SpecialFolder="Templates"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderTemplate.gif");
}
.folderMenuItem[SpecialFolder="Templates"][open="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderTemplateO.gif");
}
.folderMenuItem[SpecialFolder="Drafts"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderDraft.gif");
}
.folderMenuItem[SpecialFolder="Drafts"][open="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderDraftO.gif");
}
.folderMenuItem[SpecialFolder="Unsent Messages"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderOutbox.gif");
}
.folderMenuItem[BiffState="NewMail"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderNew.gif");
}
/* IMAP folders */
.folderMenuItem[ServerType="imap"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderServer.gif");
}
.folderMenuItem[ServerType="imap"][open="true"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderServerO.gif");
}
.folderMenuItem[IsServer="true"][ServerType="imap"] > .menu-left {
list-style-image: url("chrome://messenger/skin/ServerRemote.gif");
}
/* News folders */
.folderMenuItem[ServerType="nntp"] > .menu-left {
list-style-image: url("chrome://messenger/skin/FolderNewsgroup.gif");
}
.folderMenuItem[IsServer="true"][ServerType="nntp"] > .menu-left {
list-style-image: url("chrome://messenger/skin/ServerNews.gif");
}