mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-08 00:55:01 -04:00
User interface enhancements
This commit is contained in:
parent
557ddd7d1e
commit
7d5bb8e016
5 changed files with 54 additions and 30 deletions
|
@ -702,9 +702,9 @@ class LXMessageWidget(urwid.WidgetWrap):
|
|||
message_time = datetime.fromtimestamp(self.timestamp)
|
||||
encryption_string = ""
|
||||
if message.get_transport_encrypted():
|
||||
encryption_string = " ["+g["lock"]+" "+str(message.get_transport_encryption())+"]"
|
||||
encryption_string = " ["+g["encrypted"]+" "+str(message.get_transport_encryption())+"]"
|
||||
else:
|
||||
encryption_string = " ["+g["unlock"]+" "+str(message.get_transport_encryption())+"]"
|
||||
encryption_string = " ["+g["plaintext"]+" "+str(message.get_transport_encryption())+"]"
|
||||
|
||||
title_string = message_time.strftime(time_format)+encryption_string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue