1
0

check gui when loading plugins

This commit is contained in:
ThomasV
2015-05-24 09:26:28 +02:00
parent a48a7951a7
commit d40c12c949
3 changed files with 32 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ descriptions = [
'description': ('Provides support for air-gapped transaction signing.\n\n'
'Requires http://github.com/romanz/amodem/'),
'requires': ['amodem'],
'GUI': ['qt']
'available_for': ['qt'],
},
{
'name': 'btchipwallet',
@@ -33,7 +33,8 @@ descriptions = [
'description': _('Provides support for BTChip hardware wallet') + '\n\n' + _('Requires github.com/btchip/btchip-python'),
'requires': ['btchip'],
'requires_wallet_type': ['btchip'],
'registers_wallet_type': True
'registers_wallet_type': True,
'available_for': ['qt'],
},
{
'name': 'cosigner_pool',
@@ -43,29 +44,33 @@ descriptions = [
_("It sends and receives partially signed transactions from/to your cosigner wallet."),
_("Transactions are encrypted and stored on a remote server.")
]),
'GUI': ['qt'],
'requires_wallet_type': ['2of2', '2of3']
'requires_wallet_type': ['2of2', '2of3'],
'available_for': ['qt'],
},
{
'name': 'exchange_rate',
'fullname': _("Exchange rates"),
'description': """exchange rates, retrieved from blockchain.info, CoinDesk, or Coinbase"""
'description': """exchange rates, retrieved from blockchain.info, CoinDesk, or Coinbase""",
'available_for': ['qt'],
},
{
'name': 'greenaddress_instant',
'fullname': 'GreenAddress instant',
'description': _("Allows validating if your transactions have instant confirmations by GreenAddress")
'description': _("Allows validating if your transactions have instant confirmations by GreenAddress"),
'available_for': ['qt'],
},
{
'name': 'labels',
'fullname': _('LabelSync'),
'description': '%s\n\n%s' % (_("The new and improved LabelSync plugin. This can sync your labels across multiple Electrum installs by using a remote database to save your data. Labels, transactions ids and addresses are encrypted before they are sent to the remote server."), _("The label sync's server software is open-source as well and can be found on github.com/maran/electrum-sync-server"))
'description': '%s\n\n%s' % (_("The new and improved LabelSync plugin. This can sync your labels across multiple Electrum installs by using a remote database to save your data. Labels, transactions ids and addresses are encrypted before they are sent to the remote server."), _("The label sync's server software is open-source as well and can be found on github.com/maran/electrum-sync-server")),
'available_for': ['qt']
},
{
'name': 'openalias',
'fullname': 'OpenAlias',
'description': 'Allow for payments to OpenAlias addresses.\nRequires dnspython',
'requires': ['dns']
'requires': ['dns'],
'available_for': ['qt']
},
{
'name': 'plot',
@@ -75,16 +80,17 @@ descriptions = [
_("Warning: Requires matplotlib library.")
]),
'requires': ['matplotlib'],
'GUI': ['qt']
'available_for': ['qt'],
},
{
'name':'trezor',
'fullname': 'Trezor Wallet',
'description': 'Provides support for Trezor hardware wallet\n\nRequires github.com/trezor/python-trezor',
'GUI': ['qt'],
'available_for': ['qt'],
'requires': ['trezorlib'],
'requires_wallet_type': ['trezor'],
'registers_wallet_type': True
'registers_wallet_type': True,
'available_for': ['qt', 'cmdline']
},
{
'name': 'trustedcoin',
@@ -94,13 +100,14 @@ descriptions = [
_("For more information, visit"),
" <a href=\"https://api.trustedcoin.com/#/electrum-help\">https://api.trustedcoin.com/#/electrum-help</a>"
]),
'GUI': ['none', 'qt'],
'requires_wallet_type': ['2fa'],
'registers_wallet_type': True
'registers_wallet_type': True,
'available_for': ['qt', 'cmdline'],
},
{
'name': 'virtualkeyboard',
'fullname': 'Virtual Keyboard',
'description': '%s\n%s' % (_("Add an optional virtual keyboard to the password dialog."), _("Warning: do not use this if it makes you pick a weaker password.")),
'available_for': ['qt'],
}
]