1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 20:34:19 +01:00

replace some echo() calls with echomsg()

This commit is contained in:
Doug Kearns
2008-12-11 16:59:51 +11:00
parent 8ad705334b
commit f27c461c7f
10 changed files with 18 additions and 15 deletions

View File

@@ -123,7 +123,7 @@ function Addressbook() //{{{
displayName = generateDisplayName(firstName, lastName);
if (addressbook.add(mailAddr, firstName, lastName, displayName))
liberator.echo("Added address: " + displayName + " <" + mailAddr + ">", commandline.FORCE_SINGLELINE);
liberator.echomsg("Added address: " + displayName + " <" + mailAddr + ">", 1, commandline.FORCE_SINGLELINE);
else
liberator.echoerr("Exxx: Could not add bookmark `" + mailAddr + "'", commandline.FORCE_SINGLELINE);

View File

@@ -138,12 +138,12 @@ function Mail() //{{{
if (copy)
{
MsgCopyMessage(folders[0]);
setTimeout(function () { liberator.echo(count + " message(s) copied to " + folders[0].prettyName); }, 100);
setTimeout(function () { liberator.echomsg(count + " message(s) copied to " + folders[0].prettyName, 1); }, 100);
}
else
{
MsgMoveMessage(folders[0]);
setTimeout(function () { liberator.echo(count + " message(s) moved to " + folders[0].prettyName); }, 100);
setTimeout(function () { liberator.echomsg(count + " message(s) moved to " + folders[0].prettyName, 1); }, 100);
}
return true;
}