|
|
@ -639,7 +639,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): |
|
|
|
|
|
|
|
# Settings / Preferences are all reserved keywords in macOS using this as work around |
|
|
|
tools_menu.addAction(_("Electrum preferences") if sys.platform == 'darwin' else _("Preferences"), self.settings_dialog) |
|
|
|
tools_menu.addAction(_("&Network"), lambda: self.gui_object.show_network_dialog(self)) |
|
|
|
tools_menu.addAction(_("&Network"), self.gui_object.show_network_dialog) |
|
|
|
if self.wallet.has_lightning(): |
|
|
|
tools_menu.addAction(_("&Lightning"), self.gui_object.show_lightning_dialog) |
|
|
|
tools_menu.addAction(_("&Watchtower"), self.gui_object.show_watchtower_dialog) |
|
|
@ -1999,7 +1999,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): |
|
|
|
if self.wallet.has_lightning(): |
|
|
|
self.lightning_button = StatusBarButton(read_QIcon("lightning.png"), _("Lightning Network"), self.gui_object.show_lightning_dialog) |
|
|
|
sb.addPermanentWidget(self.lightning_button) |
|
|
|
self.status_button = StatusBarButton(read_QIcon("status_disconnected.png"), _("Network"), lambda: self.gui_object.show_network_dialog(self)) |
|
|
|
self.status_button = StatusBarButton(read_QIcon("status_disconnected.png"), _("Network"), self.gui_object.show_network_dialog) |
|
|
|
sb.addPermanentWidget(self.status_button) |
|
|
|
run_hook('create_status_bar', sb) |
|
|
|
self.setStatusBar(sb) |
|
|
|