Bug #261199 --> port aviary branch fix for Thunderbird:

1) Folders are now sorted properly in the virtual folder picker dialog
2) The account picker in the folder picker dialog now shows the account names
in the drop down instead of using a height of 0 pixels for each row in the menu
list.
This commit is contained in:
scott%scott-macgregor.org 2004-10-23 04:35:58 +00:00
Родитель 1588ed4abb
Коммит 863b9f4fe0
1 изменённых файлов: 8 добавлений и 6 удалений

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

@ -40,6 +40,7 @@
<dialog id="searchFolderWindow" <dialog id="searchFolderWindow"
xmlns:NC="http://home.netscape.com/NC-rdf#" xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&virtualFolderListTitle.title;" title="&virtualFolderListTitle.title;"
style="width: 27em; height: 25em;" style="width: 27em; height: 25em;"
@ -55,13 +56,15 @@
<hbox pack="end" align="center"> <hbox pack="end" align="center">
<label value="&server.label;" accesskey="&server.accesskey;" control="serverMenu"/> <label value="&server.label;" accesskey="&server.accesskey;" control="serverMenu"/>
<menulist oncommand="onServerClick(event);" id="serverMenu" <menulist oncommand="onServerClick(event);" id="serverMenu"
datasources="rdf:msgaccountmanager rdf:mailnewsfolders" datasources="rdf:msgaccountmanager"
sortResource="http://home.netscape.com/NC-rdf#FolderTreeName" sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
sortDirection="ascending" ref="msgaccounts:/" flex="1"> sortDirection="ascending" ref="msgaccounts:/" flex="1">
<template> <template>
<rule NC:CanSearchMessages="true"> <rule>
<menupopup> <menupopup>
<menuitem class="menuitem-iconic" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"/> <menuitem uri="..." value="..."
class="menuitem-iconic"
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</menupopup> </menupopup>
</rule> </rule>
</template> </template>
@ -76,9 +79,8 @@
hidecolumnpicker="true" hidecolumnpicker="true"
seltype="multiple" seltype="multiple"
disableKeyNavigation="true" disableKeyNavigation="true"
datasources="rdf:msgaccountmanager rdf:mailnewsfolders" datasources="rdf:mailnewsfolders"
flags="dont-build-content" flags="dont-build-content"
ref="msgaccounts:/"
onkeypress="onSelectFolderTreeKeyPress(event);" onkeypress="onSelectFolderTreeKeyPress(event);"
onclick="selectFolderTreeOnClick(event);"> onclick="selectFolderTreeOnClick(event);">
<template> <template>
@ -123,7 +125,7 @@
</template> </template>
<treecols> <treecols>
<treecol id="folderNameCol" sort="?folderTreeNameSort" sortactive="true" <treecol id="folderNameCol" sort="?folderTreeNameSort" sortActive="true" sortDirection="ascending"
flex="10" primary="true" hideheader="true" crop="center"/> flex="10" primary="true" hideheader="true" crop="center"/>
<splitter class="tree-splitter"/> <splitter class="tree-splitter"/>
<treecol id="selectedColumn" hideheader="true" flex="1"/> <treecol id="selectedColumn" hideheader="true" flex="1"/>