Bug 362842 please rename nsIMsgImapMailFolder.canIOpenThisFolder

r=bienvenu sr=bienvenu
This commit is contained in:
timeless%mozdev.org 2006-12-09 16:31:05 +00:00
Родитель f36e43d13d
Коммит 7421949329
3 изменённых файлов: 5 добавлений и 5 удалений

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

@ -46,7 +46,7 @@ interface nsIMsgParseMailMsgState;
// this is a simple interface which allows the imap folder to update some values
// that the folder props js code will use to update the sharing and quota tabs in the folder props.
[scriptable, uuid(239472a2-6e8f-46f0-9507-887998da49e5)]
[scriptable, uuid(C3011608-84C2-11DB-959B-000A95CC2952)]
interface nsIMsgImapFolderProps : nsISupports {
void setFolderType(in wstring folderType);
@ -121,7 +121,7 @@ interface nsIMsgImapMailFolder : nsISupports {
attribute long boxFlags;
attribute string onlineName;
attribute boolean isNamespace;
readonly attribute boolean canIOpenThisFolder;
readonly attribute boolean canOpenFolder;
attribute string adminUrl;
readonly attribute boolean hasAdminUrl;
attribute boolean performingBiff;

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

@ -772,7 +772,7 @@ nsImapMailFolder::UpdateFolder(nsIMsgWindow *msgWindow)
return rv;
}
PRBool canOpenThisFolder = PR_TRUE;
GetCanIOpenThisFolder(&canOpenThisFolder);
GetCanOpenFolder(&canOpenThisFolder);
PRBool hasOfflineEvents = PR_FALSE;
GetFlag(MSG_FOLDER_FLAG_OFFLINEEVENTS, &hasOfflineEvents);
@ -5722,7 +5722,7 @@ nsresult nsImapMailFolder::GetSupportedUserFlags(PRUint32 *userFlags)
return rv;
}
NS_IMETHODIMP nsImapMailFolder::GetCanIOpenThisFolder(PRBool *aBool)
NS_IMETHODIMP nsImapMailFolder::GetCanOpenFolder(PRBool *aBool)
{
NS_ENSURE_ARG_POINTER(aBool);
PRBool noSelect;

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

@ -217,7 +217,7 @@ nsImapService::SelectFolder(nsIEventTarget * aClientEventTarget,
PRBool canOpenThisFolder = PR_TRUE;
nsCOMPtr <nsIMsgImapMailFolder> imapFolder = do_QueryInterface(aImapMailFolder);
if (imapFolder)
imapFolder->GetCanIOpenThisFolder(&canOpenThisFolder);
imapFolder->GetCanOpenFolder(&canOpenThisFolder);
if (!canOpenThisFolder)
return NS_OK;