Add Geary.Account.is_online property

This will be useful for displaying this status to the user in the
future, and allows removing MinimalFolder.is_remote_available, which is
hopelessly innacturate in the face of network problems.
This commit is contained in:
Michael Gratton 2018-11-10 09:25:05 +11:00
parent d2d0fc7b46
commit 8d1b5b565c
5 changed files with 19 additions and 18 deletions

View file

@ -31,6 +31,8 @@ public class Geary.MockAccount : Account, MockObject {
}
public override bool is_online { get; protected set; default = false; }
protected Gee.Queue<ExpectedCall> expected {
get; set; default = new Gee.LinkedList<ExpectedCall>();
}