зеркало из https://github.com/mozilla/gecko-dev.git
fix for bug #190349. fix some problems with choosing an existing folder
as the junk mail folder. r/sr=bienvenu
This commit is contained in:
Родитель
d707cba238
Коммит
f5bcc87c97
|
@ -718,6 +718,18 @@ GetOrCreateFolder(const nsACString &aURI, nsIUrlListener *aListener)
|
|||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
// if the folder exists, we should set the junk flag on it
|
||||
// which is what the listener will do
|
||||
if (aListener) {
|
||||
rv = aListener->OnStartRunningUrl(nsnull);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
rv = aListener->OnStopRunningUrl(nsnull, NS_OK);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
}
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче