1
0

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

This commit is contained in:
SomberNight
2023-03-16 15:22:10 +00:00
parent 7a86d8dc9e
commit 3a7bc82881
5 changed files with 3 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

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

View File

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

View File

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