1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 13:02:26 +01:00

fixed muttator completions

This commit is contained in:
Martin Stubenschrott
2009-01-14 22:33:03 +01:00
parent a4b64c71cd
commit 6cddced452
3 changed files with 9 additions and 3 deletions

View File

@@ -89,9 +89,9 @@ function Mail() //{{{
var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event;
mailSession.AddFolderListener(folderListener, notifyFlags);
function getFolderCompletions(filter)
function getFolderCompletions(context)
{
let folders = mail.getFolders(filter);
let folders = mail.getFolders(context.filter);
context.completions = folders.map(function (folder)
[folder.server.prettyName + ": " + folder.name,
"Unread: " + folder.getNumUnread(false)]);