Message deletion works

This commit is contained in:
edwin%woudt.nl 1999-03-03 10:03:06 +00:00
parent b95bf6ec27
commit 879504bc57
2 changed files with 10 additions and 5 deletions

View File

@ -187,13 +187,16 @@ class DeleteMessageProgress extends ProgressFrame {
Object args[] = {Util.GetSubject(message)};
setStatus(MessageFormat.format(fLabels.getString("deletingMessageStatus"),
setStatus(MessageFormat.format(fLabels.getString("deletingMessageStatus"),
args));
// source.deleteMessage(message);
try {
Thread.sleep(500);
} catch (InterruptedException e) {
message.setFlag(Flags.Flag.DELETED, true);
} catch (MessagingException e) {
}
//try {
// Thread.sleep(500);
//} catch (InterruptedException e) {
//}
idx++;
setProgress(idx);
}

View File

@ -164,7 +164,9 @@ public abstract class ProgressFrame extends GeneralFrame implements Runnable {
progressLoop();
fThread = null;
this.dispose();
// Is this right? (edwin)
// this.dispose();
this.hide();
}
public abstract void progressLoop();