Add magic-folder indicator to main welcome page

This doesn't reveal very much information, but does tell
you if magic-folder is currently working and if not it will
indicate when the last attempt to do a remote scan was.
This commit is contained in:
meejah
2016-08-09 14:25:25 -06:00
parent a6920d9799
commit 8a33fc612a
5 changed files with 59 additions and 2 deletions

View File

@ -124,6 +124,7 @@ class Client(node.Node, pollmixin.PollMixin):
node.Node.__init__(self, basedir)
# All tub.registerReference must happen *after* we upcall, since
# that's what does tub.setLocation()
self._magic_folder = None
self.started_timestamp = time.time()
self.logSource="Client"
self.encoding_params = self.DEFAULT_ENCODING_PARAMETERS.copy()