Bug 261199 UI for defining and editing virtual folders

patch by gautheri@noos.fr r=mscott sr=mscott a=asa
This commit is contained in:
timeless%mozdev.org 2005-06-15 01:21:06 +00:00
Родитель c7763cbedd
Коммит a8ed95b7f4
1 изменённых файлов: 6 добавлений и 7 удалений

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

@ -231,8 +231,8 @@ function onEditVirtualFolderPropertiesCallback(aVirtualFolderURI)
if (gMsgFolderSelected && aVirtualFolderURI == gMsgFolderSelected.URI)
{
gMsgFolderSelected = null; // force the folder pane to reload the virtual folder
FolderPaneSelectionChange();
}
FolderPaneSelectionChange();
}
}
function MsgFolderProperties()
@ -246,18 +246,17 @@ function MsgFolderProperties()
return;
}
var serverType = msgFolder.server.type;
var folderTree = GetFolderTree();
if (msgFolder.flags & MSG_FOLDER_FLAG_VIRTUAL)
{
// virtual folders get there own property dialog that contains all of the
// search information related to the virtual folder.
return MsgVirtualFolderProperties(true);
MsgVirtualFolderProperties(true);
return;
}
var serverType = msgFolder.server.type;
var folderTree = GetFolderTree();
var name = GetFolderNameFromUri(preselectedURI, folderTree);
var windowTitle = gMessengerBundle.getString("folderProperties");
var dialog = window.openDialog(
"chrome://messenger/content/folderProps.xul",