removed trailing whitespace and fixed indentation in history widget
@ -221,5 +221,3 @@ class ElectrumGui:
self.app.sendEvent(self.app.clipboard(), event)
w.close_wallet()
@ -96,4 +96,3 @@ class BTCAmountEdit(AmountEdit):
p = pow(10, self.decimal_point())
x = amount / Decimal(p)
self.setText(str(x))
@ -23,4 +23,3 @@ class HistoryWidget(QTreeWidget):
if float(amount) < 0:
item.setForeground(0, QBrush(QColor("#BC1E1E")))
self.insertTopLevelItem(0, item)
@ -872,4 +872,3 @@ if __name__ == "__main__":
app.setStyleSheet(style_file.read())
mini = MiniWindow()
sys.exit(app.exec_())
@ -173,7 +173,3 @@ class PasswordDialog(QDialog):
QMessageBox.information(self.parent, _('Success'), _('Password was updated successfully'), _('OK'))
else:
QMessageBox.information(self.parent, _('Success'), _('This wallet is not encrypted'), _('OK'))
@ -235,4 +235,3 @@ class PayToEdit(QRTextEdit):
cr = self.cursorRect()
cr.setWidth(self.c.popup().sizeHintForColumn(0) + self.c.popup().verticalScrollBar().sizeHint().width())
self.c.complete(cr)
@ -132,4 +132,3 @@ class QRDialog(QDialog):
vbox.addLayout(hbox)
d.setLayout(vbox)
@ -84,7 +84,3 @@ class QR_Window(QWidget):
label_text = "<span style='font-size: 21pt'>%s</span>" % message if message else ""
self.label_label.setText(label_text)
self.qrw.setData(url)
@ -223,7 +223,3 @@ class TxDialog(QDialog):
def show_message(self, msg):
QMessageBox.information(self, _('Message'), msg, _('OK'))
@ -119,5 +119,3 @@ class UpdateLabel(QLabel):
self.dialog = dialog
if not dialog.exec_(): return
@ -417,7 +417,3 @@ class BIP32_Account_2of3(BIP32_Account_2of2):
def get_type(self):
return _('Multisig 2 of 3')
@ -357,4 +357,3 @@ class Blockchain(threading.Thread):
return False
return True
@ -219,4 +219,3 @@ if __name__ == "__main__":
bmp.plotPoint( 5, 5 )
bmp.plotPoint( 0, 0 )
bmp.saveFile( "test.bmp" )
@ -484,5 +484,3 @@ class Network(threading.Thread):
def get_local_height(self):
return self.blockchain.height()
@ -230,4 +230,3 @@ class NetworkProxy(threading.Thread):
callbacks = self.callbacks.get(event,[])[:]
if callbacks:
[callback() for callback in callbacks]
@ -352,4 +352,3 @@ if __name__ == "__main__":
tx = "blah"
pr.send_ack(tx, refund_addr = "1vXAXUnGitimzinpXrqDWVU4tyAAQ34RA")
@ -109,4 +109,3 @@ class BasePlugin:
def settings_dialog(self):
pass
@ -194,4 +194,3 @@ class WalletSynchronizer(threading.Thread):
# Updated gets called too many times from other places as well; if we use that signal we get the notification three times
self.network.trigger_callback("new_transaction")
self.was_updated = False
@ -900,6 +900,3 @@ class Transaction:
priority = sum / size
print_error(priority, threshold)
return priority < threshold
@ -352,4 +352,3 @@ class QueuePipe:
def send_all(self, requests):
for request in requests:
self.send(request)