зеркало из https://github.com/mozilla/gecko-dev.git
fixing whitespace from last checkin
This commit is contained in:
Родитель
baa95a6b51
Коммит
c08a517514
|
@ -855,23 +855,23 @@ NS_IMETHODIMP nsImapMailFolder::CreateClientSubfolderInfo(const char *folderName
|
||||||
nsCOMPtr <nsIAtom> folderCreateAtom;
|
nsCOMPtr <nsIAtom> folderCreateAtom;
|
||||||
if (!suppressNotification)
|
if (!suppressNotification)
|
||||||
{
|
{
|
||||||
if(NS_SUCCEEDED(rv) && child)
|
if(NS_SUCCEEDED(rv) && child)
|
||||||
{
|
|
||||||
nsCOMPtr<nsISupports> childSupports(do_QueryInterface(child));
|
|
||||||
nsCOMPtr<nsISupports> folderSupports;
|
|
||||||
rv = QueryInterface(NS_GET_IID(nsISupports), getter_AddRefs(folderSupports));
|
|
||||||
if(childSupports && NS_SUCCEEDED(rv))
|
|
||||||
{
|
{
|
||||||
NotifyItemAdded(folderSupports, childSupports, "folderView");
|
nsCOMPtr<nsISupports> childSupports(do_QueryInterface(child));
|
||||||
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateCompleted"));
|
nsCOMPtr<nsISupports> folderSupports;
|
||||||
child->NotifyFolderEvent(folderCreateAtom);
|
rv = QueryInterface(NS_GET_IID(nsISupports), getter_AddRefs(folderSupports));
|
||||||
|
if(childSupports && NS_SUCCEEDED(rv))
|
||||||
|
{
|
||||||
|
NotifyItemAdded(folderSupports, childSupports, "folderView");
|
||||||
|
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateCompleted"));
|
||||||
|
child->NotifyFolderEvent(folderCreateAtom);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateFailed"));
|
||||||
|
NotifyFolderEvent(folderCreateAtom);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateFailed"));
|
|
||||||
NotifyFolderEvent(folderCreateAtom);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче