twallet selector - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c803a8ecab1c85b88fd741d5ec420e1ee3370ad5 DIR parent f8ccf3cd37ed4ad183b8ef6cc6357630a757c911 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 7 Oct 2015 13:48:58 +0200 wallet selector Diffstat: M gui/kivy/uix/ui_screens/wallet.kv | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/kivy/uix/ui_screens/wallet.kv b/gui/kivy/uix/ui_screens/wallet.kv t@@ -1,3 +1,4 @@ +#:import os os <WalletSelector@BlueSpinner> t@@ -7,8 +8,25 @@ Popup: - Label: - text: _('Wallet') + 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