mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-01-22 20:41:08 -05:00
Fixed sync progress bar display
This commit is contained in:
parent
19fb70fb3f
commit
14eb35f7de
@ -243,6 +243,8 @@ class NomadNetworkApp:
|
||||
return True
|
||||
elif self.message_router.propagation_transfer_state == LXMF.LXMRouter.PR_REQUEST_SENT:
|
||||
return True
|
||||
elif self.message_router.propagation_transfer_state == LXMF.LXMRouter.PR_RECEIVING:
|
||||
return True
|
||||
elif self.message_router.propagation_transfer_state == LXMF.LXMRouter.PR_RESPONSE_RECEIVED:
|
||||
return True
|
||||
elif self.message_router.propagation_transfer_state == LXMF.LXMRouter.PR_COMPLETE:
|
||||
|
@ -352,6 +352,7 @@ class ConversationsDisplay():
|
||||
|
||||
def cancel_sync(sender):
|
||||
self.app.cancel_lxmf_sync()
|
||||
self.update_sync_dialog()
|
||||
|
||||
cancel_button = urwid.Button("Close", on_press=dismiss_dialog)
|
||||
sync_progress = SyncProgressBar("progress_empty" , "progress_full", current=self.app.get_sync_progress(), done=1.0, satt=None)
|
||||
|
Loading…
Reference in New Issue
Block a user