зеркало из https://github.com/mozilla/gecko-dev.git
add skeleton implementations of search attribute XBL (doesn't work right now)
This commit is contained in:
Родитель
d792e03c55
Коммит
ab84816818
|
@ -25,6 +25,7 @@ folderPane.css
|
||||||
threadPane.css
|
threadPane.css
|
||||||
msgHdrViewOverlay.css
|
msgHdrViewOverlay.css
|
||||||
subscribe.css
|
subscribe.css
|
||||||
|
mailWidgets.xml
|
||||||
mailfolder.gif
|
mailfolder.gif
|
||||||
open-mailfolder.gif
|
open-mailfolder.gif
|
||||||
message-mail.gif
|
message-mail.gif
|
||||||
|
|
|
@ -33,6 +33,7 @@ EXPORT_RESOURCE_SAMPLES = \
|
||||||
folderPane.css \
|
folderPane.css \
|
||||||
threadPane.css \
|
threadPane.css \
|
||||||
msgHdrViewOverlay.css \
|
msgHdrViewOverlay.css \
|
||||||
|
mailWidgets.xml \
|
||||||
mailfolder.gif \
|
mailfolder.gif \
|
||||||
open-mailfolder.gif \
|
open-mailfolder.gif \
|
||||||
message-mail.gif \
|
message-mail.gif \
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<bindings id="mailWidgetsBindings"
|
||||||
|
xmlns="http://www.mozilla.org/xbl"
|
||||||
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
|
||||||
|
<binding id="searchattribute" >
|
||||||
|
<content>
|
||||||
|
<xul:box>
|
||||||
|
<xul:text style="border: 1px solid blue" value="searchattr!"/>
|
||||||
|
<xul:image inherits="src"/>
|
||||||
|
<xul:text style="border: 1px solid blue" value="searchattr2!"/>
|
||||||
|
</xul:box>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
|
||||||
|
<binding id="searchoperator" extends="xul:box">
|
||||||
|
<content>
|
||||||
|
<xul:text value="operator!"/>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
|
||||||
|
</bindings>
|
|
@ -106,6 +106,7 @@ install::
|
||||||
$(MAKE_INSTALL) server-remote-lock.gif $(DIST)\bin\chrome\messenger\skin
|
$(MAKE_INSTALL) server-remote-lock.gif $(DIST)\bin\chrome\messenger\skin
|
||||||
$(MAKE_INSTALL) attach.gif $(DIST)\bin\chrome\messenger\skin
|
$(MAKE_INSTALL) attach.gif $(DIST)\bin\chrome\messenger\skin
|
||||||
$(MAKE_INSTALL) addtoab.gif $(DIST)\bin\chrome\messenger\skin
|
$(MAKE_INSTALL) addtoab.gif $(DIST)\bin\chrome\messenger\skin
|
||||||
|
$(MAKE_INSTALL) mailWidgets.xml $(DIST)\bin\chrome\messenger\skin
|
||||||
|
|
||||||
clobber::
|
clobber::
|
||||||
rm -f $(DIST)\chrome\messenger\skin\messenger.css
|
rm -f $(DIST)\chrome\messenger\skin\messenger.css
|
||||||
|
|
|
@ -301,3 +301,11 @@ treeitem[Enabled="true"] > treerow > treecell.enabledcol > .tree-button {
|
||||||
treecell.enabledcol > .tree-button {
|
treecell.enabledcol > .tree-button {
|
||||||
list-style-image: url("chrome://messenger/skin/readmail.gif");
|
list-style-image: url("chrome://messenger/skin/readmail.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
searchattribute {
|
||||||
|
behavior: url(chrome://messenger/skin/mailWidgets.xml#searchattribute);
|
||||||
|
}
|
||||||
|
|
||||||
|
searchoperator {
|
||||||
|
behavior: url(chrome://messenger/skin/mailWidgets.xml#searchoperator);
|
||||||
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче