1
0

lightning: remove hub based approach, port qt gui to lnbase

This commit is contained in:
Janus
2018-05-23 15:46:30 +02:00
committed by ThomasV
parent 4fdf1b9b84
commit 18963405ee
14 changed files with 132 additions and 4309 deletions

View File

@@ -140,11 +140,6 @@ class ElectrumGui(Logger):
# the OS/window manager/etc might set *a dark theme*.
# Hence, try to choose colors accordingly:
ColorScheme.update_from_widget(QWidget(), force_dark=use_dark_theme)
self.lightning = LightningUI(self.set_console_and_return_lightning)
def set_console_and_return_lightning(self):
self.windows[0].wallet.network.lightningrpc.setConsole(self.windows[0].console)
return self.windows[0].wallet.network.lightningrpc
def build_tray_menu(self):
# Avoid immediate GC of old menu when window closed via its action