do the banner request in interface, not in wallet
This commit is contained in:
@@ -324,7 +324,7 @@ class ElectrumWindow(QMainWindow):
|
||||
|
||||
self.connect(self, QtCore.SIGNAL('update_wallet'), self.update_wallet)
|
||||
self.connect(self, QtCore.SIGNAL('update_status'), self.update_status)
|
||||
self.connect(self, QtCore.SIGNAL('banner_signal'), lambda: self.console.showMessage(self.wallet.banner) )
|
||||
self.connect(self, QtCore.SIGNAL('banner_signal'), lambda: self.console.showMessage(self.wallet.interface.banner) )
|
||||
self.history_list.setFocus(True)
|
||||
|
||||
self.exchanger = exchange_rate.Exchanger(self)
|
||||
@@ -337,7 +337,7 @@ class ElectrumWindow(QMainWindow):
|
||||
tabs.setCurrentIndex (0)
|
||||
|
||||
# set initial message
|
||||
self.console.showMessage(self.wallet.banner)
|
||||
self.console.showMessage(self.wallet.interface.banner)
|
||||
|
||||
# plugins that need to change the GUI do it here
|
||||
self.run_hook('init_gui')
|
||||
|
||||
@@ -1129,7 +1129,7 @@ class ElectrumWindow:
|
||||
self.update_history_tab()
|
||||
self.update_receiving_tab()
|
||||
# addressbook too...
|
||||
self.info.set_text( self.wallet.banner )
|
||||
self.info.set_text( self.wallet.interface.banner )
|
||||
self.wallet_updated = False
|
||||
|
||||
def update_receiving_tab(self):
|
||||
|
||||
@@ -124,7 +124,7 @@ class ElectrumGui:
|
||||
self.stdscr.addstr( 12, 25, _("[Clear]"), curses.A_REVERSE if self.pos%6==5 else curses.color_pair(2))
|
||||
|
||||
def print_banner(self):
|
||||
self.stdscr.addstr( 1, 1, self.wallet.banner )
|
||||
self.stdscr.addstr( 1, 1, self.wallet.interface.banner )
|
||||
|
||||
def print_list(self, list, firstline):
|
||||
self.maxpos = len(list)
|
||||
|
||||
Reference in New Issue
Block a user