You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
948 B
34 lines
948 B
#:import os os
|
|
|
|
|
|
<WalletSelector@BlueSpinner>
|
|
icon: 'atlas://gui/kivy/theming/light/wallet'
|
|
values: ('default Wallet',)
|
|
text: _('Select your wallet')
|
|
|
|
|
|
Popup:
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
GridLayout:
|
|
size_hint_y: None
|
|
cols: 2
|
|
Label:
|
|
height: '32dp'
|
|
size_hint_y: None
|
|
text: _('Wallet file') + ':'
|
|
TextInput:
|
|
id: text_input
|
|
height: '32dp'
|
|
size_hint_y: None
|
|
text: os.path.basename(app.wallet.storage.path)
|
|
|
|
FileChooserIconView:
|
|
id: wallet_selector
|
|
path: os.path.dirname(app.wallet.storage.path)
|
|
on_selection: text_input.text = os.path.basename(self.selection[0]) if self.selection else ''
|
|
|
|
#WalletSelector:
|
|
# id: wallet_selection
|
|
# size_hint: 1, None
|
|
# height: blue_bottom.item_height
|
|
|