зеркало из https://github.com/mozilla/gecko-dev.git
add cool icons when a filter is enabled, and add a warning about filing bugs
This commit is contained in:
Родитель
b030870e30
Коммит
e696326198
|
@ -69,11 +69,11 @@ function EditFilter() {
|
||||||
|
|
||||||
var args = {selectedFilter: selectedFilter};
|
var args = {selectedFilter: selectedFilter};
|
||||||
|
|
||||||
window.openDialog("chrome://messenger/content/FilterEditor.xul", "FilterEditor", "chrome", args);
|
window.openDialog("chrome://messenger/content/FilterEditor.xul", "FilterEditor", "chrome,modal", args);
|
||||||
}
|
}
|
||||||
|
|
||||||
function NewFilter() {
|
function NewFilter() {
|
||||||
// pass the URI too, so that we know what filter to put this before
|
// pass the URI too, so that we know what filter to put this before
|
||||||
window.openDialog("chrome://messenger/content/FilterEditor.xul", "FilterEditor", "chrome");
|
window.openDialog("chrome://messenger/content/FilterEditor.xul", "FilterEditor", "chrome,modal");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,10 +55,10 @@ Rights Reserved.
|
||||||
<rule>
|
<rule>
|
||||||
<treechildren>
|
<treechildren>
|
||||||
<treeitem uri="..." open="true"
|
<treeitem uri="..." open="true"
|
||||||
IsEnabled="rdf:http://home.netscape.com/NC-rdf#Enabled">
|
Enabled="rdf:http://home.netscape.com/NC-rdf#Enabled">
|
||||||
<treerow >
|
<treerow >
|
||||||
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
||||||
<treecell value="rdf:http://home.netscape.com/NC-rdf#Enabled"/>
|
<treecell allowevents="true" class="enabledcol image"/>
|
||||||
</treerow>
|
</treerow>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
</treechildren>
|
</treechildren>
|
||||||
|
@ -95,7 +95,7 @@ Rights Reserved.
|
||||||
</box>
|
</box>
|
||||||
<box orient="horizontal">
|
<box orient="horizontal">
|
||||||
<button value="&runFiltersNow.label;" width="0em"/>
|
<button value="&runFiltersNow.label;" width="0em"/>
|
||||||
<spring flex="100%"/>
|
<html style="font: bold">Do NOT file bugs against this dialog. It is not complete.</html>
|
||||||
</box>
|
</box>
|
||||||
<separator class="groove"/>
|
<separator class="groove"/>
|
||||||
<box id="okCancelButtons"/>
|
<box id="okCancelButtons"/>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче