removed trailing whitespace and fixed indentation in history widget

This commit is contained in:
Tafelpoot 2014-10-21 19:05:51 +02:00
parent 49c0a3a08f
commit d9c5250a6f
35 changed files with 230 additions and 267 deletions

View file

@ -221,5 +221,3 @@ class ElectrumGui:
self.app.sendEvent(self.app.clipboard(), event)
w.close_wallet()

View file

@ -96,4 +96,3 @@ class BTCAmountEdit(AmountEdit):
p = pow(10, self.decimal_point())
x = amount / Decimal(p)
self.setText(str(x))

View file

@ -23,4 +23,3 @@ class HistoryWidget(QTreeWidget):
if float(amount) < 0:
item.setForeground(0, QBrush(QColor("#BC1E1E")))
self.insertTopLevelItem(0, item)

View file

@ -872,4 +872,3 @@ if __name__ == "__main__":
app.setStyleSheet(style_file.read())
mini = MiniWindow()
sys.exit(app.exec_())

View file

@ -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'))

View file

@ -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)

View file

@ -132,4 +132,3 @@ class QRDialog(QDialog):
vbox.addLayout(hbox)
d.setLayout(vbox)

View file

@ -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)

View file

@ -223,7 +223,3 @@ class TxDialog(QDialog):
def show_message(self, msg):
QMessageBox.information(self, _('Message'), msg, _('OK'))

View file

@ -119,5 +119,3 @@ class UpdateLabel(QLabel):
self.dialog = dialog
if not dialog.exec_(): return

View file

@ -417,7 +417,3 @@ class BIP32_Account_2of3(BIP32_Account_2of2):
def get_type(self):
return _('Multisig 2 of 3')

View file

@ -357,4 +357,3 @@ class Blockchain(threading.Thread):
return False
return True

View file

@ -219,4 +219,3 @@ if __name__ == "__main__":
bmp.plotPoint( 5, 5 )
bmp.plotPoint( 0, 0 )
bmp.saveFile( "test.bmp" )

View file

@ -484,5 +484,3 @@ class Network(threading.Thread):
def get_local_height(self):
return self.blockchain.height()

View file

@ -230,4 +230,3 @@ class NetworkProxy(threading.Thread):
callbacks = self.callbacks.get(event,[])[:]
if callbacks:
[callback() for callback in callbacks]

View file

@ -352,4 +352,3 @@ if __name__ == "__main__":
tx = "blah"
pr.send_ack(tx, refund_addr = "1vXAXUnGitimzinpXrqDWVU4tyAAQ34RA")

View file

@ -109,4 +109,3 @@ class BasePlugin:
def settings_dialog(self):
pass

View file

@ -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

View file

@ -900,6 +900,3 @@ class Transaction:
priority = sum / size
print_error(priority, threshold)
return priority < threshold

View file

@ -352,4 +352,3 @@ class QueuePipe:
def send_all(self, requests):
for request in requests:
self.send(request)