Browse Source

icons: add "cloud_yes.png", and rename existing "nocloud"

master
SomberNight 3 years ago
parent
commit
3a7bc82881
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 0
      electrum/gui/icons/cloud_no.png
  2. BIN
      electrum/gui/icons/cloud_yes.png
  3. 2
      electrum/gui/qml/components/controls/ChannelDelegate.qml
  4. 2
      electrum/gui/qt/channels_list.py
  5. 2
      electrum/gui/qt/main_window.py

0
electrum/gui/icons/nocloud.png → electrum/gui/icons/cloud_no.png

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

BIN
electrum/gui/icons/cloud_yes.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

2
electrum/gui/qml/components/controls/ChannelDelegate.qml

@ -38,7 +38,7 @@ ItemDelegate {
id: walleticon
source: model.is_backup
? model.is_imported
? '../../../icons/nocloud.png'
? '../../../icons/cloud_no.png'
: '../../../icons/lightning_disconnected.png'
: model.is_trampoline
? '../../../icons/kangaroo.png'

2
electrum/gui/qt/channels_list.py

@ -443,7 +443,7 @@ class ChanFeatNoOnchainBackup(ChannelFeature):
def tooltip(self) -> str:
return _("This channel cannot be recovered from your seed. You must back it up manually.")
def icon(self) -> QIcon:
return read_QIcon("nocloud")
return read_QIcon("cloud_no")
class ChannelFeatureIcons:

2
electrum/gui/qt/main_window.py

@ -1761,7 +1761,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):
grid.addWidget(WWLabel(_('Enabled')), cur_row, 1)
else:
label = IconLabel(text='Enabled, non-recoverable channels')
label.setIcon(read_QIcon('nocloud'))
label.setIcon(read_QIcon('cloud_no'))
grid.addWidget(label, cur_row, 1)
if self.wallet.db.get('seed_type') == 'segwit':
msg = _("Your channels cannot be recovered from seed, because they were created with an old version of Electrum. "

Loading…
Cancel
Save