mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
Removing unused variable b=207861 p=gautheri@noos.fr r=me sr=mscott
This commit is contained in:
parent
9e31615f55
commit
5cd9590b37
@ -113,7 +113,6 @@ function fillThreadPaneContextMenu()
|
||||
isNewsgroup = IsNewsMessage(selectedMessage);
|
||||
}
|
||||
|
||||
|
||||
SetupNewMessageWindowMenuItem("threadPaneContext-openNewWindow", numSelected, false);
|
||||
SetupEditAsNewMenuItem("threadPaneContext-editAsNew", numSelected, false);
|
||||
|
||||
@ -139,7 +138,6 @@ function fillThreadPaneContextMenu()
|
||||
SetupAddSenderToABMenuItem("threadPaneContext-addSenderToAddressBook", numSelected, false);
|
||||
SetupAddAllToABMenuItem("threadPaneContext-addAllToAddressBook", numSelected, false);
|
||||
|
||||
|
||||
ShowMenuItem("threadPaneContext-sep-edit", (numSelected <= 1));
|
||||
|
||||
return(true);
|
||||
@ -339,7 +337,6 @@ function fillFolderPaneContextMenu()
|
||||
function SetupRenameMenuItem(folderResource, numSelected, isServer, serverType, specialFolder)
|
||||
{
|
||||
var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);
|
||||
var isMail = serverType != 'nntp';
|
||||
var folderTree = GetFolderTree();
|
||||
var isSpecialFolder = !(specialFolder == "none" || (specialFolder == "Junk" && CanRenameDeleteJunkMail(msgFolder.URI)));
|
||||
var canRename = GetFolderAttribute(folderTree, folderResource, "CanRename") == "true";
|
||||
@ -362,7 +359,6 @@ function SetupRemoveMenuItem(folderResource, numSelected, isServer, serverType,
|
||||
//Can't currently delete Accounts or special folders.
|
||||
var showRemove = (numSelected <=1) && (isMail && !isSpecialFolder) && !isServer;
|
||||
|
||||
|
||||
ShowMenuItem("folderPaneContext-remove", showRemove);
|
||||
if(showRemove)
|
||||
{
|
||||
@ -438,7 +434,6 @@ function SetMenuItemLabel(id, label)
|
||||
var item = document.getElementById(id);
|
||||
if(item)
|
||||
item.setAttribute('label', label);
|
||||
|
||||
}
|
||||
|
||||
function SetMenuItemAccessKey(id, accessKey)
|
||||
@ -446,7 +441,6 @@ function SetMenuItemAccessKey(id, accessKey)
|
||||
var item = document.getElementById(id);
|
||||
if(item)
|
||||
item.setAttribute('accesskey', accessKey);
|
||||
|
||||
}
|
||||
|
||||
function fillMessagePaneContextMenu()
|
||||
@ -523,7 +517,6 @@ function ShowSeparator(aSeparatorID)
|
||||
|
||||
function IsMenuItemShowing(menuID)
|
||||
{
|
||||
|
||||
var item = document.getElementById(menuID);
|
||||
if (item)
|
||||
return item.hidden != "true";
|
||||
|
Loading…
x
Reference in New Issue
Block a user