URI: 
       tkivy: improve status dialog - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 74b12f02b54ea237b9fe1ee25c18a6f388b06d0d
   DIR parent 326a44cd834f470dc90288b1a860d52f201c5947
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sun,  6 Mar 2016 10:27:16 +0100
       
       kivy: improve status dialog
       
       Diffstat:
         M gui/kivy/main_window.py             |       2 ++
         M gui/kivy/uix/ui_screens/status.kv   |       7 ++++---
       
       2 files changed, 6 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
       t@@ -749,6 +749,8 @@ class ElectrumWindow(App):
                self.protected(_("Enter your PIN code in order to decrypt your seed"), self._show_seed, (label,))
        
            def _show_seed(self, label, password):
       +        if not password:
       +            return
                try:
                    seed = self.wallet.get_seed(password)
                except:
   DIR diff --git a/gui/kivy/uix/ui_screens/status.kv b/gui/kivy/uix/ui_screens/status.kv
       t@@ -5,9 +5,9 @@ Popup:
            confirmed: 0
            unconfirmed: 0
            unmatured: 0
       +    watching_only: app.wallet.is_watching_only()
            on_parent:
                self.confirmed, self.unconfirmed, self.unmatured = app.wallet.get_balance()
       -
            BoxLayout:
                orientation: 'vertical'
                ScrollView:
       t@@ -54,8 +54,8 @@ Popup:
                            data: app.wallet.get_master_public_key()
                            name: _('Master Public Key')
                        TopLabel:
       -                    text: ''
                            id: seed_label
       +                    text: _('This wallet is watching-only') if root.watching_only else ''
        
                BoxLayout:
                    size_hint: 1, None
       t@@ -63,7 +63,8 @@ Popup:
                    Button:
                        size_hint: 0.5, None
                        height: '48dp'
       -                text: _('Hide seed') if seed_label.text else _('Show seed')
       +                text: '' if root.watching_only else (_('Hide seed') if seed_label.text else _('Show seed'))
       +                disabled: root.watching_only
                        on_release:
                            setattr(seed_label, 'text', '') if seed_label.text else app.show_seed(seed_label)
                    Button: