mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-03-27 09:08:21 -04:00
Cleanup
This commit is contained in:
parent
c999014876
commit
6ff01c3e67
@ -125,8 +125,6 @@ class MainDisplay():
|
|||||||
def update_active_sub_display(self):
|
def update_active_sub_display(self):
|
||||||
self.frame.contents["body"] = (self.sub_displays.active().widget, None)
|
self.frame.contents["body"] = (self.sub_displays.active().widget, None)
|
||||||
self.update_active_shortcuts()
|
self.update_active_shortcuts()
|
||||||
# TODO: Remove when new mitigation has been tested
|
|
||||||
# self.app.ui.main_display.request_redraw(extra_delay=0.0)
|
|
||||||
|
|
||||||
def update_active_shortcuts(self):
|
def update_active_shortcuts(self):
|
||||||
self.frame.contents["footer"] = (self.sub_displays.active().shortcuts().widget, None)
|
self.frame.contents["footer"] = (self.sub_displays.active().shortcuts().widget, None)
|
||||||
|
@ -114,8 +114,6 @@ class AnnounceInfo(urwid.WidgetWrap):
|
|||||||
self.parent.left_pile.contents[0] = (self.parent.announce_stream_display, options)
|
self.parent.left_pile.contents[0] = (self.parent.announce_stream_display, options)
|
||||||
|
|
||||||
def connect(sender):
|
def connect(sender):
|
||||||
# TODO: Remove when new mitigation has been tested
|
|
||||||
# self.app.ui.main_display.request_redraw(extra_delay=0.75)
|
|
||||||
self.parent.browser.retrieve_url(RNS.hexrep(source_hash, delimit=False))
|
self.parent.browser.retrieve_url(RNS.hexrep(source_hash, delimit=False))
|
||||||
show_announce_stream(None)
|
show_announce_stream(None)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user