Compare commits

...

3 Commits
0.2.9 ... 0.3.0

Author SHA1 Message Date
Mark Qvist
84ea13acbd Updated version 2022-12-21 00:08:24 +01:00
Mark Qvist
bd631f6f5f Updated LXMF propagation node list display 2022-12-21 00:04:45 +01:00
Mark Qvist
5bcb4a3cec Updated LXMF dependency version 2022-12-21 00:04:25 +01:00
3 changed files with 10 additions and 3 deletions

View File

@@ -1 +1 @@
__version__ = "0.2.9" __version__ = "0.3.0"

View File

@@ -1604,7 +1604,14 @@ class LXMFPeerEntry(urwid.WidgetWrap):
style = "list_unknown" style = "list_unknown"
focus_style = "list_focus" focus_style = "list_focus"
widget = ListEntry(sym+" "+display_str+"\n "+str(len(peer.unhandled_messages))+" unhandled LXMs - "+"Last heard "+pretty_date(int(peer.last_heard))) alive_string = "Unknown"
if hasattr(peer, "alive"):
if peer.alive:
alive_string = "Available"
else:
alive_string = "Unresponsive"
widget = ListEntry(sym+" "+display_str+"\n "+alive_string+", last heard "+pretty_date(int(peer.last_heard))+"\n "+str(len(peer.unhandled_messages))+" unhandled LXMs")
# urwid.connect_signal(widget, "click", delegate.connect_node, node) # urwid.connect_signal(widget, "click", delegate.connect_node, node)
self.display_widget = urwid.AttrMap(widget, style, focus_style) self.display_widget = urwid.AttrMap(widget, style, focus_style)

View File

@@ -23,6 +23,6 @@ setuptools.setup(
entry_points= { entry_points= {
'console_scripts': ['nomadnet=nomadnet.nomadnet:main'] 'console_scripts': ['nomadnet=nomadnet.nomadnet:main']
}, },
install_requires=["rns>=0.4.3", "lxmf>=0.2.6", "urwid>=2.1.2", "qrcode"], install_requires=["rns>=0.4.3", "lxmf>=0.2.7", "urwid>=2.1.2", "qrcode"],
python_requires=">=3.6", python_requires=">=3.6",
) )